diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/filemetadata.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/rust/src/filemetadata.rs b/rust/src/filemetadata.rs index 5f0be581..fa7d65e1 100644 --- a/rust/src/filemetadata.rs +++ b/rust/src/filemetadata.rs @@ -112,12 +112,7 @@ impl FileMetadata { pub fn is_database_backed<S: BnStrCompatible>(&self, view_type: S) -> bool { let view_type = view_type.as_bytes_with_nul(); - unsafe { - BNIsBackedByDatabase( - self.handle, - view_type.as_ref().as_ptr() as *const _ - ) - } + unsafe { BNIsBackedByDatabase(self.handle, view_type.as_ref().as_ptr() as *const _) } } pub fn begin_undo_actions(&self) { |
