Skip to content

Commit

Permalink
panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jan 6, 2024
1 parent 1410e73 commit 81d3f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/core/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub unsafe trait Interface: Sized + Clone {
if Self::UNKNOWN {
(self.assume_vtable::<IUnknown>().QueryInterface)(self.as_raw(), iid, interface)
} else {
panic!()
panic!("Non-COM interfaces cannot be queried.")
}
}
}
Expand Down

0 comments on commit 81d3f6a

Please sign in to comment.