From 7a7f9f07f16922cfbf744ed428ac482b988adf27 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 13 Feb 2026 19:20:49 -0800 Subject: [Rust] Misc TypeLibrary API improvements --- rust/tests/type_library.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/tests') diff --git a/rust/tests/type_library.rs b/rust/tests/type_library.rs index b8a12870..19115f35 100644 --- a/rust/tests/type_library.rs +++ b/rust/tests/type_library.rs @@ -47,7 +47,7 @@ fn test_applying_type_library() { // Type library types don't exist in the view until they are imported. // Adding the type library to the view will let you import types from it without necessarily knowing "where" they came from. let found_lib_type = view - .import_type_library("SIP_ADD_NEWPROVIDER", None) + .import_type_library_type("SIP_ADD_NEWPROVIDER", None) .expect("SIP_ADD_NEWPROVIDER exists"); assert_eq!(found_lib_type.width(), 48); // Per docs type is returned as a NamedTypeReferenceClass. -- cgit v1.3.1