Skip to content

Commit

Permalink
is_extended is a bool
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre committed Aug 10, 2022
1 parent affce99 commit eb2de9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/digit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl<'a> Digit<'a> {
}

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

0 comments on commit eb2de9a

Please sign in to comment.