Skip to content

Commit

Permalink
doc: Amend cargo doc redundant explicit link
Browse files Browse the repository at this point in the history
  • Loading branch information
brycx committed Sep 10, 2024
1 parent c67dec5 commit bf40755
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/hazardous/hash/blake2/blake2b.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl io::Write for Blake2b {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha2/sha256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ impl io::Write for Sha256 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha2/sha384.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl io::Write for Sha384 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha2/sha512.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ impl io::Write for Sha512 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha3/sha3_224.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl io::Write for Sha3_224 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha3/sha3_256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl io::Write for Sha3_256 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha3/sha3_384.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl io::Write for Sha3_384 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha3/sha3_512.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl io::Write for Sha3_512 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.update(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha3/shake128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl io::Write for Shake128 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.absorb(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down
2 changes: 1 addition & 1 deletion src/hazardous/hash/sha3/shake256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl io::Write for Shake256 {
/// ## Errors:
/// This function will only ever return the [`std::io::ErrorKind::Other`]()
/// variant when it returns an error. Additionally, this will always contain Orion's
/// [`UnknownCryptoError`](crate::errors::UnknownCryptoError) type.
/// [`UnknownCryptoError`] type.
fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
self.absorb(bytes)
.map_err(|e| io::Error::new(io::ErrorKind::Other, e))?;
Expand Down

0 comments on commit bf40755

Please sign in to comment.