Skip to content

Commit 023e459

Browse files
committedDec 13, 2023
chore: fmt
1 parent 937051e commit 023e459

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,7 @@ pub unsafe extern "C" fn entity_free(entity: *mut Entity) {
490490
#[allow(clippy::missing_safety_doc)]
491491
pub unsafe extern "C" fn error_free(error: *mut Error) {
492492
if !error.is_null() {
493-
let _: String = CString::from_raw((*error).message)
494-
.into_string()
495-
.unwrap();
493+
let _: String = CString::from_raw((*error).message).into_string().unwrap();
496494
}
497495
}
498496

0 commit comments

Comments
 (0)
Please sign in to comment.