From b5e5000f4b0aa2b029626397d42fe8d91463b997 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Fri, 5 Jan 2024 21:23:59 -0600 Subject: [PATCH] warning (no local repro) --- crates/tests/implement/tests/identity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tests/implement/tests/identity.rs b/crates/tests/implement/tests/identity.rs index 90e26b7266..5f8bdb05f0 100644 --- a/crates/tests/implement/tests/identity.rs +++ b/crates/tests/implement/tests/identity.rs @@ -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()) } }