From 34daa38fe94e8eaf6951d8c0429e971afbfce156 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 19 Feb 2026 11:19:37 -0800 Subject: [Rust] Misc type library doc improvements --- rust/src/types/library.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rust/src') 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 { let mut count = 0; let result = unsafe { BNGetTypeLibraryPlatforms(self.as_raw(), &mut count) }; -- cgit v1.3.1