Skip to content

Commit

Permalink
Merge pull request #1 from bitflags/chore/doc-fixes
Browse files Browse the repository at this point in the history
Fix up a few docs
  • Loading branch information
KodrAus authored Feb 5, 2025
2 parents 94b077e + e1c425f commit 8b3cff9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ version = "0.0.1"
[dependencies.bitflags]
version = "2"

# Adding new library support to `bitflags-derive`:
#
# 1. Add an optional dependency here
# 2. Add support in a module in `macros`
# 3. Add some tests in `tests/ui`

[workspace]
members = [
"macros",
Expand Down
2 changes: 1 addition & 1 deletion macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mod debug;
/**
Derive [`Debug`](https://doc.rust-lang.org/std/fmt/trait.Debug.html) for a flags type.
This macro will use [`https://docs.rs/bitflags/latest/bitflags/parser/fn.to_writer.html`] to
This macro will use [`to_writer`](https://docs.rs/bitflags/latest/bitflags/parser/fn.to_writer.html) to
format flags values.
*/
#[proc_macro_derive(FlagsDebug)]
Expand Down

0 comments on commit 8b3cff9

Please sign in to comment.