From faabef0e737ec0c236beeac66207eaff16279bac Mon Sep 17 00:00:00 2001 From: Arlie Davis Date: Thu, 23 May 2024 15:00:27 -0700 Subject: [PATCH] rustfmt --- crates/libs/core/src/lib.rs | 2 +- crates/libs/core/src/unknown.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/libs/core/src/lib.rs b/crates/libs/core/src/lib.rs index 7cff833c3e..02d637c67d 100644 --- a/crates/libs/core/src/lib.rs +++ b/crates/libs/core/src/lib.rs @@ -46,6 +46,7 @@ pub use agile_reference::*; pub use array::*; pub use as_impl::*; pub use com_object::*; +pub use dynamic_cast::*; #[cfg(feature = "std")] pub use event::*; pub use guid::*; @@ -68,7 +69,6 @@ pub use weak::*; pub use windows_implement::implement; pub use windows_interface::interface; pub use windows_result::*; -pub use dynamic_cast::*; /// Attempts to load the factory object for the given WinRT class. /// This can be used to access COM interfaces implemented on a Windows Runtime class factory. diff --git a/crates/libs/core/src/unknown.rs b/crates/libs/core/src/unknown.rs index 6e05f4257d..498b94c6c5 100644 --- a/crates/libs/core/src/unknown.rs +++ b/crates/libs/core/src/unknown.rs @@ -146,7 +146,7 @@ pub trait IUnknownImpl { fn to_object(&self) -> ComObject where Self::Impl: ComObjectInner; - + /// The distance from the start of `_Impl` to the `this` field within it. The `this` field /// contains the `MyApp` instance. const INNER_BYTE_OFFSET: usize;