Skip to content

Commit 4c5adeb

Browse files
committed
[Rust] Misc type library doc improvements
1 parent 4b236da commit 4c5adeb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rust/src/types/library.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ impl TypeLibrary {
188188
/// Returns a list of all platform names that this type library will register with during platform
189189
/// type registration.
190190
///
191-
/// This returns strings, not Platform objects, as type libraries can be distributed with support for
192-
/// Platforms that may not be present.
191+
/// Because type libraries can be distributed with platforms that do not exist, we return the names.
193192
pub fn platform_names(&self) -> Array<BnString> {
194193
let mut count = 0;
195194
let result = unsafe { BNGetTypeLibraryPlatforms(self.as_raw(), &mut count) };

0 commit comments

Comments
 (0)