Skip to content

Commit

Permalink
Documentation: Fix word usage (#19529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince213 committed Feb 14, 2022
1 parent 2ef71c0 commit b2c5d7b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ Hashing
from the MongoDB interface and it thus binary compatible with a MongoDB OID.

* `sha1 <sha1.html>`_
This module implements a sha1 encoder and decoder.
This module implements the SHA-1 checksum algorithm.


Miscellaneous
Expand Down
4 changes: 2 additions & 2 deletions lib/pure/base64.nim
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ runnableExamples:
## ========
##
## * `hashes module<hashes.html>`_ for efficient computations of hash values for diverse Nim types
## * `md5 module<md5.html>`_ implements the MD5 checksum algorithm
## * `sha1 module<sha1.html>`_ implements a sha1 encoder and decoder
## * `md5 module<md5.html>`_ for the MD5 checksum algorithm
## * `sha1 module<sha1.html>`_ for the SHA-1 checksum algorithm

template cbBase(a, b): untyped = [
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
Expand Down
2 changes: 1 addition & 1 deletion lib/pure/hashes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runnableExamples:
## ========
## * `md5 module <md5.html>`_ for the MD5 checksum algorithm
## * `base64 module <base64.html>`_ for a Base64 encoder and decoder
## * `std/sha1 module <sha1.html>`_ for a SHA-1 encoder and decoder
## * `std/sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
## * `tables module <tables.html>`_ for hash tables

import std/private/since
Expand Down
4 changes: 2 additions & 2 deletions lib/pure/md5.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
##
## See also
## ========
## * `base64 module<base64.html>`_ implements a Base64 encoder and decoder
## * `std/sha1 module <sha1.html>`_ for a SHA-1 encoder and decoder
## * `base64 module<base64.html>`_ for a Base64 encoder and decoder
## * `std/sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
## * `hashes module<hashes.html>`_ for efficient computations of hash values
## for diverse Nim types

Expand Down
4 changes: 2 additions & 2 deletions lib/std/sha1.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
##
## See also
## ========
## * `base64 module<base64.html>`_ implements a Base64 encoder and decoder
## * `base64 module<base64.html>`_ for a Base64 encoder and decoder
## * `hashes module<hashes.html>`_ for efficient computations of hash values for diverse Nim types
## * `md5 module<md5.html>`_ implements the MD5 checksum algorithm
## * `md5 module<md5.html>`_ for the MD5 checksum algorithm

runnableExamples:
let accessName = secureHash("John Doe")
Expand Down

0 comments on commit b2c5d7b

Please sign in to comment.