Skip to content

Commit

Permalink
Fix use of to_i32
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive committed Nov 16, 2024
1 parent 7c8d6a4 commit fd23179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ae-plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ trait IDExt {

impl<T: Settings> IDExt for SettingID<T> {
fn ae_id(&self) -> i32 {
self.id.to_i32().unwrap() + 1
self.id as i32 + 1
}
}

Expand Down

0 comments on commit fd23179

Please sign in to comment.