Skip to content

Commit

Permalink
no need to use our re-export of core in the trait definition
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Oct 25, 2021
1 parent b924d4c commit faa453b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitflags_trait.rs
Expand Up @@ -14,7 +14,7 @@ pub trait BitFlags: ImplementedByBitFlagsMacro {
fn bits(&self) -> Self::Bits;
/// Convert from underlying bit representation, unless that
/// representation contains bits that do not correspond to a flag.
fn from_bits(bits: Self::Bits) -> _core::option::Option<Self>
fn from_bits(bits: Self::Bits) -> Option<Self>
where Self: Sized;
/// Convert from underlying bit representation, dropping any bits
/// that do not correspond to flags.
Expand Down

0 comments on commit faa453b

Please sign in to comment.