Skip to content

Commit

Permalink
Format with rustfmt to eliminate trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 5, 2023
1 parent a0ef8a2 commit cb07a70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/de/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ where
/// of the byte slice is not returned.
///
/// See the `de_flavors::crc` module for the complete set of functions.
///
///
#[cfg(feature = "use-crc")]
pub use flavors::crc::from_bytes_u32 as from_bytes_crc32;

/// Conveniently deserialize a message of type `T` from a byte slice with a Crc. The unused portion (if any)
/// of the byte slice is returned for further usage
///
/// See the `de_flavors::crc` module for the complete set of functions.
///
///
#[cfg(feature = "use-crc")]
pub use flavors::crc::take_from_bytes_u32 as take_from_bytes_crc32;

Expand Down
6 changes: 3 additions & 3 deletions src/ser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ where
/// ```
///
/// See the `ser_flavors::crc` module for the complete set of functions.
///
///
#[cfg(feature = "use-crc")]
pub use flavors::crc::to_slice_u32 as to_slice_crc32;

Expand All @@ -284,7 +284,7 @@ pub use flavors::crc::to_slice_u32 as to_slice_crc32;
/// ```
///
/// See the `ser_flavors::crc` module for the complete set of functions.
///
///
#[cfg(all(feature = "use-crc", feature = "heapless"))]
pub use flavors::crc::to_vec_u32 as to_vec_crc32;

Expand All @@ -309,7 +309,7 @@ pub use flavors::crc::to_vec_u32 as to_vec_crc32;
/// ```
///
/// See the `ser_flavors::crc` module for the complete set of functions.
///
///
#[cfg(all(feature = "use-crc", feature = "use-std"))]
pub use flavors::crc::to_allocvec_u32 as to_stdvec_crc32;

Expand Down

0 comments on commit cb07a70

Please sign in to comment.