Skip to content

Commit 26f03e0

Browse files
committed
feat(features): remove FeatureBits bounds that are not elaborated
1 parent b4847c8 commit 26f03e0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/features.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ use crate::le128;
44

55
/// Feature Bits
66
#[doc(alias = "VIRTIO_F")]
7-
pub trait FeatureBits: bitflags::Flags<Bits = le128>
8-
where
9-
Self: From<F> + AsRef<F> + AsMut<F>,
10-
F: From<Self> + AsRef<Self> + AsMut<Self>,
7+
pub trait FeatureBits:
8+
bitflags::Flags<Bits = le128> + From<F> + Into<F> + AsRef<F> + AsMut<F>
119
{
1210
/// Returns the feature that this feature requires.
1311
///

0 commit comments

Comments
 (0)