Skip to content

Commit eb2de9a

Browse files
author
pierre
committed
is_extended is a bool
1 parent affce99 commit eb2de9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/digit.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl<'a> Digit<'a> {
5454
}
5555

5656
#[doc = " Reports whether the finger is more or less straight. @since 3.0.0"]
57-
pub fn is_extended(&self) -> u32 {
58-
self.handle.is_extended
57+
pub fn is_extended(&self) -> bool {
58+
self.handle.is_extended == 1
5959
}
6060
}

0 commit comments

Comments
 (0)