Skip to content

Commit 095bc57

Browse files
authored
Fix lint errors
1 parent 01980f9 commit 095bc57

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎src-rs/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ mod swift_arg;
77
mod swift_ret;
88
mod types;
99

10-
pub use autorelease::*;
1110
pub use swift::*;
1211
pub use swift_arg::*;
1312
pub use swift_ret::*;

‎src-rs/swift.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub trait SwiftObject {
3131
/// The inner pointer is private,
3232
/// and the returned [`SwiftRef`] is bound to the lifetime of the original [`SRObject`],
3333
/// so if you use `swift-rs` as normal this function should be safe.
34-
unsafe fn swift_ref(&self) -> SwiftRef<Self>
34+
unsafe fn swift_ref(&self) -> SwiftRef<'_, Self>
3535
where
3636
Self: Sized,
3737
{

0 commit comments

Comments
 (0)