Skip to content

Commit 2ef6e23

Browse files
committed
docs: update old documentation to match
1 parent 932d4ea commit 2ef6e23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/event.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ pub enum DeviceCapability {
694694
}
695695

696696
impl DeviceCapability {
697-
/// Returns the name of the interface for the first matched capability.
697+
/// Returns the name of the interface.
698698
///
699699
/// `None` is returned if none of the flags match
700700
pub(crate) fn interface_name(self) -> &'static str {
@@ -730,7 +730,7 @@ impl DeviceCapability {
730730
}
731731
}
732732

733-
/// Lookup table from a single capability of [`SeatCapabilities`] to a protocol capability.
733+
/// Lookup table from [`DeviceCapability`] to a protocol capability.
734734
#[derive(Clone, Copy, PartialEq, Eq, Default)]
735735
struct CapabilityMap([u64; BitFlags::<DeviceCapability>::ALL.bits_c().count_ones() as usize]);
736736

0 commit comments

Comments
 (0)