Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor committed May 16, 2023
1 parent 7115826 commit 0ebf085
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rustler/src/term.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ impl<'a> Term<'a> {

#[cfg(feature = "nif_version_2_15")]
pub fn get_erl_type(&self) -> rustler_sys::ErlNifTermType {
unsafe {
rustler_sys::enif_term_type(self.env.as_c_arg(), &self.as_c_arg())
}
unsafe { rustler_sys::enif_term_type(self.env.as_c_arg(), &self.as_c_arg()) }
}
}

Expand Down

0 comments on commit 0ebf085

Please sign in to comment.