Skip to content

Commit

Permalink
run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Oct 6, 2022
1 parent 471e224 commit 62352c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/internal.rs
Expand Up @@ -325,4 +325,4 @@ macro_rules! __impl_internal_bitflags {
}
}
};
}
}
5 changes: 1 addition & 4 deletions src/lib.rs
Expand Up @@ -348,10 +348,7 @@ mod traits;

#[doc(hidden)]
pub mod __private {
pub use crate::{
traits::*,
external::*,
};
pub use crate::{external::*, traits::*};

pub use core;

Expand Down
2 changes: 1 addition & 1 deletion src/public.rs
Expand Up @@ -446,4 +446,4 @@ macro_rules! __impl_public_bitflags {

impl $crate::__private::ImplementedByBitFlagsMacro for $PublicBitFlags {}
};
}
}
2 changes: 1 addition & 1 deletion src/traits.rs
Expand Up @@ -6,7 +6,7 @@ use core::ops::{BitAnd, BitAndAssign, BitOr, BitOrAssign, BitXor, BitXorAssign,
pub trait BitFlags: ImplementedByBitFlagsMacro {
/// The underlying integer type.
type Bits: Bits;

/// An iterator over enabled flags in an instance of the type.
type Iter: Iterator<Item = Self>;

Expand Down

0 comments on commit 62352c8

Please sign in to comment.