diff options
| author | Mason Reed <mason@vector35.com> | 2026-03-13 12:19:41 -0700 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2026-03-24 18:46:48 -0700 |
| commit | 938e9506996df13b3f08419854aa73c7d24f2d44 (patch) | |
| tree | fe86a80be40e2ae2db4e4f34eebfeccd1672bd8b /rust/src/file_metadata.rs | |
| parent | 61e4e7e772b9c427bf190f8557afc466d0488848 (diff) | |
[Rust] Misc docs
Diffstat (limited to 'rust/src/file_metadata.rs')
| -rw-r--r-- | rust/src/file_metadata.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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<Ref<Database>> { let result = unsafe { BNGetFileMetadataDatabase(self.handle) }; NonNull::new(result).map(|handle| unsafe { Database::ref_from_raw(handle) }) |
