Skip to content

Commit

Permalink
warning (no local repro)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jan 6, 2024
1 parent 81d3f6a commit b5e5000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/tests/implement/tests/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ use windows::{core::*, Foundation::*};
static mut COUNTER: isize = 0;

#[implement(IStringable, IClosable)]
struct Test(String, i128);
struct Test(String);

impl Test {
fn new(value: &str) -> Self {
unsafe {
COUNTER += 1;
}
Self(value.to_string(), 0)
Self(value.to_string())
}
}

Expand Down

0 comments on commit b5e5000

Please sign in to comment.