From 812861830643eab9d76c50361a7ece50731ea979 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 16 Jan 2025 17:32:08 -0600 Subject: [PATCH] code gen --- crates/tests/winrt/reference_float/src/bindings.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tests/winrt/reference_float/src/bindings.rs b/crates/tests/winrt/reference_float/src/bindings.rs index c70d4333cc..4e9bbd5dda 100644 --- a/crates/tests/winrt/reference_float/src/bindings.rs +++ b/crates/tests/winrt/reference_float/src/bindings.rs @@ -172,7 +172,7 @@ impl IPropertyValue { windows_core::Interface::as_raw(this), &mut result__, ) - .map(|| core::mem::transmute(result__)) + .map(|| result__) } } pub fn GetUInt8Array(&self, value: &mut windows_core::Array) -> windows_core::Result<()> { @@ -1279,7 +1279,7 @@ impl IReference { windows_core::Interface::as_raw(this), &mut result__, ) - .map(|| core::mem::transmute(result__)) + .map(|| result__) } } pub fn GetUInt8Array(&self, value: &mut windows_core::Array) -> windows_core::Result<()> {