summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-19 11:19:37 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commit34daa38fe94e8eaf6951d8c0429e971afbfce156 (patch)
treeb56c844b282c7be51fda2f977a5cf8df18bb2704 /rust/src
parent69a9f9e48d6bc76e91eec2a18cd8fee73a496b93 (diff)
[Rust] Misc type library doc improvements
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/types/library.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/src/types/library.rs b/rust/src/types/library.rs
index f6415dc4..ab69e76e 100644
--- a/rust/src/types/library.rs
+++ b/rust/src/types/library.rs
@@ -188,8 +188,7 @@ impl TypeLibrary {
/// Returns a list of all platform names that this type library will register with during platform
/// type registration.
///
- /// This returns strings, not Platform objects, as type libraries can be distributed with support for
- /// Platforms that may not be present.
+ /// Because type libraries can be distributed with platforms that do not exist, we return the names.
pub fn platform_names(&self) -> Array<BnString> {
let mut count = 0;
let result = unsafe { BNGetTypeLibraryPlatforms(self.as_raw(), &mut count) };