From 938e9506996df13b3f08419854aa73c7d24f2d44 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 13 Mar 2026 12:19:41 -0700 Subject: [Rust] Misc docs --- rust/src/file_metadata.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rust/src/file_metadata.rs') diff --git a/rust/src/file_metadata.rs b/rust/src/file_metadata.rs index 5862647f..ce320dc5 100644 --- a/rust/src/file_metadata.rs +++ b/rust/src/file_metadata.rs @@ -583,7 +583,8 @@ impl FileMetadata { /// Get the database attached to this file. /// - /// Only available if this file is a database, or has called [`FileMetadata::create_database`]. + /// Only available if this file is a database, or [`FileMetadata::create_database`] has previously + /// been called on this file. pub fn database(&self) -> Option> { let result = unsafe { BNGetFileMetadataDatabase(self.handle) }; NonNull::new(result).map(|handle| unsafe { Database::ref_from_raw(handle) }) -- cgit v1.3.1