Skip to content

Commit

Permalink
[core] fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Feb 3, 2025
1 parent 233743d commit 00c1fcc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/core/src/bitflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ impl<F: Bitflags<Bit = u64>> Bitfield<F> {
/// # #[allow(clippy::enum_clike_unportable_variant)]
/// # #[repr(u64)]
/// # pub Scope[u64] {
/// # Hello["hello"]: 1u64 << 0u64;
/// # World["world"]: 1u64 << 1u64;
/// # Hello["hello"] => 1u64 << 0u64;
/// # World["world"] => 1u64 << 1u64;
/// # }
/// # }
/// #
Expand Down Expand Up @@ -126,16 +126,16 @@ impl<F: Bitflags<Bit = u64>> Bitfield<F> {
/// value to what was acculumated.
///
/// ## Example
/// ```no_run
/// ```
/// # use charted_core::{bitflags, bitflags::Bitfield};
/// #
/// # bitflags! {
/// # #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
/// # #[allow(clippy::enum_clike_unportable_variant)]
/// # #[repr(u64)]
/// # pub Scope[u64] {
/// # Hello["hello"]: 1u64 << 0u64;
/// # World["world"]: 1u64 << 1u64;
/// # Hello["hello"] => 1u64 << 0u64;
/// # World["world"] => 1u64 << 1u64;
/// # }
/// # }
/// #
Expand Down

0 comments on commit 00c1fcc

Please sign in to comment.