From 81d3f6aeeccea602536b2d63f4fc93658bec309a Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Fri, 5 Jan 2024 20:13:36 -0600 Subject: [PATCH] panic message --- crates/libs/core/src/interface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/libs/core/src/interface.rs b/crates/libs/core/src/interface.rs index 9d602669ff..b9b1593d11 100644 --- a/crates/libs/core/src/interface.rs +++ b/crates/libs/core/src/interface.rs @@ -94,7 +94,7 @@ pub unsafe trait Interface: Sized + Clone { if Self::UNKNOWN { (self.assume_vtable::().QueryInterface)(self.as_raw(), iid, interface) } else { - panic!() + panic!("Non-COM interfaces cannot be queried.") } } }