Skip to content

Commit

Permalink
Fix broken doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
sgwilym committed Aug 10, 2024
1 parent 35a5887 commit fb099c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions encoding/src/unsigned_int.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::error::DecodeError;

use core::mem::size_of;

/// A `u8` wrapper that implements [`crate::encoding::Encodable`] and [`crate::encoding::Decodable`] by encoding as a big-endian fixed-width integer.
/// A `u8` wrapper that implements [`crate::Encodable`] and [`crate::Decodable`] by encoding as a big-endian fixed-width integer.
#[derive(PartialEq, Eq, PartialOrd, Ord, Debug)]
pub struct U8BE(u8);

Expand All @@ -18,7 +18,7 @@ impl From<U8BE> for u64 {
}
}

/// A `u16` wrapper that implements [`crate::encoding::Encodable`] and [`crate::encoding::Decodable`] by encoding as a big-endian fixed-width integer.
/// A `u16` wrapper that implements [`crate::Encodable`] and [`crate::Decodable`] by encoding as a big-endian fixed-width integer.
#[derive(PartialEq, Eq, PartialOrd, Ord, Debug)]
pub struct U16BE(u16);

Expand All @@ -34,7 +34,7 @@ impl From<U16BE> for u64 {
}
}

/// A `u32` wrapper that implements [`crate::encoding::Encodable`] and [`crate::encoding::Decodable`] by encoding as a big-endian fixed-width integer.
/// A `u32` wrapper that implements [`crate::Encodable`] and [`crate::Decodable`] by encoding as a big-endian fixed-width integer.
#[derive(PartialEq, Eq, PartialOrd, Ord, Debug)]
pub struct U32BE(u32);

Expand All @@ -50,7 +50,7 @@ impl From<U32BE> for u64 {
}
}

/// A `u64` wrapper that implements [`crate::encoding::Encodable`] and [`crate::encoding::Decodable`] by encoding as a big-endian fixed-width integer.
/// A `u64` wrapper that implements [`crate::Encodable`] and [`crate::Decodable`] by encoding as a big-endian fixed-width integer.
#[derive(PartialEq, Eq, PartialOrd, Ord, Debug)]
pub struct U64BE(u64);

Expand Down

0 comments on commit fb099c5

Please sign in to comment.