From ddeab9c89bdfa2fae79b92ab090ab99394d1f3f3 Mon Sep 17 00:00:00 2001 From: Paris Morgan Date: Fri, 8 Aug 2025 13:54:52 -0700 Subject: [PATCH 1/3] Fix lint errors --- src-rs/lib.rs | 1 - src-rs/swift.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src-rs/lib.rs b/src-rs/lib.rs index 3933189..c0ff8fa 100644 --- a/src-rs/lib.rs +++ b/src-rs/lib.rs @@ -7,7 +7,6 @@ mod swift_arg; mod swift_ret; mod types; -pub use autorelease::*; pub use swift::*; pub use swift_arg::*; pub use swift_ret::*; diff --git a/src-rs/swift.rs b/src-rs/swift.rs index 0b4f370..c2af937 100644 --- a/src-rs/swift.rs +++ b/src-rs/swift.rs @@ -31,7 +31,7 @@ pub trait SwiftObject { /// The inner pointer is private, /// and the returned [`SwiftRef`] is bound to the lifetime of the original [`SRObject`], /// so if you use `swift-rs` as normal this function should be safe. - unsafe fn swift_ref(&self) -> SwiftRef + unsafe fn swift_ref(&self) -> SwiftRef<'_, Self> where Self: Sized, { From c62de65eb7fd6e0d809692c23cd9a3d8043e01c0 Mon Sep 17 00:00:00 2001 From: Paris Morgan Date: Fri, 8 Aug 2025 13:58:02 -0700 Subject: [PATCH 2/3] Fix lint errors --- src-rs/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-rs/lib.rs b/src-rs/lib.rs index c0ff8fa..6feff74 100644 --- a/src-rs/lib.rs +++ b/src-rs/lib.rs @@ -17,3 +17,4 @@ pub use types::*; mod build; #[cfg(feature = "build")] pub use build::*; + From e2cfefa6f14cdbd0b845274221d5ec25c4341d0f Mon Sep 17 00:00:00 2001 From: Paris Morgan Date: Fri, 8 Aug 2025 13:58:10 -0700 Subject: [PATCH 3/3] Fix lint errors --- src-rs/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src-rs/lib.rs b/src-rs/lib.rs index 6feff74..c0ff8fa 100644 --- a/src-rs/lib.rs +++ b/src-rs/lib.rs @@ -17,4 +17,3 @@ pub use types::*; mod build; #[cfg(feature = "build")] pub use build::*; -