Skip to content

Commit

Permalink
docs: Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Feb 19, 2025
1 parent 777caf6 commit fdf7562
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bitflags-attr-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ use typed::{Args, Bitflag};

mod typed;

/// An attribute macro that transforms an C-like enum into a bitflag struct type implementing an API
/// similar to the `bitflags` crate, and implementing many helpful traits (listed in more details
/// below).
/// An attribute macro that transforms an C-like enum into a bitflag struct type implementing an
/// ergonomic end-user API, similar to the `bitflags` crate, and implementing many helpful traits
/// (listed in more details below).
///
/// The attribute requires that the [`Clone`] and [`Copy`] traits are derived for the type.
///
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
//!
//! Here is a non-exhaustive list of the things that `bitflag-attr` supports:
//!
//! - `no_std` support with opt-in options to use `alloc` and `std`
//! - Ergonomically create a flags type from native C-like enum syntax
//! - `no_std` support with opt-in options to use `alloc` and `std`
//! - Generate ergonomic API for the generated flags type
//! - Generated methods are almost entirely const-compatible
//! - Generated flags type auto-implements several convenient traits (complete list in the
Expand Down

0 comments on commit fdf7562

Please sign in to comment.