Skip to content

Commit d771b8e

Browse files
committed
Fix formatting
1 parent caa1837 commit d771b8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ffi.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,7 @@ pub extern "C" fn crc_fast_get_custom_params(
339339
let name = if name_ptr.is_null() {
340340
"custom"
341341
} else {
342-
unsafe {
343-
CStr::from_ptr(name_ptr).to_str().unwrap_or("custom")
344-
}
342+
unsafe { CStr::from_ptr(name_ptr).to_str().unwrap_or("custom") }
345343
};
346344

347345
// Get the custom params from the library

0 commit comments

Comments
 (0)