Skip to content

Commit 0de41e2

Browse files
authored
SHA: fix wrong types in documentation (#37693)
1 parent 7639054 commit 0de41e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/SHA/docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ julia> bytes2hex(sha256("test"))
99
"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
1010
```
1111

12-
Each exported function (at the time of this writing, SHA-1, SHA-2 224, 256, 384 and 512, and SHA-3 224, 256, 384 and 512 functions are implemented) takes in either an `Array{UInt8}`, a `ByteString` or an `IO` object. This makes it trivial to checksum a file:
12+
Each exported function (at the time of this writing, SHA-1, SHA-2 224, 256, 384 and 512, and SHA-3 224, 256, 384 and 512 functions are implemented) takes in either an `AbstractVector{UInt8}`, an `AbstractString` or an `IO` object. This makes it trivial to checksum a file:
1313

1414
```julia
1515
shell> cat /tmp/test.txt

0 commit comments

Comments
 (0)