summaryrefslogtreecommitdiff
path: root/rust/src/file_metadata.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/file_metadata.rs')
-rw-r--r--rust/src/file_metadata.rs3
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) })