Skip to content

Commit

Permalink
Fix documentation formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
manushT committed Jan 30, 2025
1 parent e8f6af3 commit a648875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defmt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ pub use defmt_macros::bitflags;
/// Generates a bitflags structure that can be formatted with defmt (using version 2 of the bitflags crate)
///
/// Users of the defmt crate can enable the bitflagsv2 feature by adding defmt = { features = ["bitflagsv2"] }
/// Users of the defmt crate can enable the bitflagsv2 feature by adding `defmt = {version = "1", features = ["bitflagsv2"] }`
/// to their Cargo.toml. Bitflags version 2 introduces significant improvements over version 1, including a safer
/// API with the replacement of the unsafe from_bits_unchecked method by the safe from_bits_retain method
/// and enhanced serialization support via an optional serde feature.
Expand Down

0 comments on commit a648875

Please sign in to comment.