Skip to content

Commit

Permalink
fix build break
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlie Davis committed Jun 3, 2024
1 parent 987d2c0 commit f058982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/libs/interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ impl Interface {
impl ::core::cmp::Eq for #name {}
impl ::core::fmt::Debug for #name {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple(#name_string).field(&self.as_raw()).finish()
f.debug_tuple(#name_string).field(&::windows_core::Interface::as_raw(self)).finish()
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/agile_reference/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ fn agile_debug() -> Result<()> {
assert!(format!("{uri:?}").starts_with("Uri(IUnknown(0x"));

let reference = AgileReference::new(&uri)?;
assert!(format!("{reference:?}").starts_with("AgileReference(IAgileReference(IUnknown(0x"));
assert!(format!("{reference:?}").starts_with("AgileReference(IAgileReference(0x"));
Ok(())
}

0 comments on commit f058982

Please sign in to comment.