/// Create a value initialized to zero.
///
-/// This function is similar to allocating space for a a local variable and
+/// This function is similar to allocating space for a local variable and
/// zeroing it out (an unsafe operation).
///
/// Care must be taken when using this function, if the type `T` has a
/// ```
fn swap_bytes(self) -> Self;
- /// Convert a integer from big endian to the target's endianness.
+ /// Convert an integer from big endian to the target's endianness.
///
/// On big endian this is a no-op. On little endian the bytes are swapped.
///
if cfg!(target_endian = "big") { x } else { x.swap_bytes() }
}
- /// Convert a integer from little endian to the target's endianness.
+ /// Convert an integer from little endian to the target's endianness.
///
/// On little endian this is a no-op. On big endian the bytes are swapped.
///