Skip to content

Commit

Permalink
Update bindgen/clang.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus authored Feb 20, 2024
1 parent f72b6f9 commit 90df906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindgen/clang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ impl Cursor {
if offset < 0 {
Err(LayoutError::from(offset))
} else {
Ok(offset.try_into().expect("offset does not fit in `usize`"))
Ok(offset.try_into().unwrap())
}
}

Expand Down

0 comments on commit 90df906

Please sign in to comment.