There was an error while loading. Please reload this page.
1 parent 01980f9 commit 095bc57Copy full SHA for 095bc57
src-rs/lib.rs
@@ -7,7 +7,6 @@ mod swift_arg;
7
mod swift_ret;
8
mod types;
9
10
-pub use autorelease::*;
11
pub use swift::*;
12
pub use swift_arg::*;
13
pub use swift_ret::*;
src-rs/swift.rs
@@ -31,7 +31,7 @@ pub trait SwiftObject {
31
/// The inner pointer is private,
32
/// and the returned [`SwiftRef`] is bound to the lifetime of the original [`SRObject`],
33
/// so if you use `swift-rs` as normal this function should be safe.
34
- unsafe fn swift_ref(&self) -> SwiftRef<Self>
+ unsafe fn swift_ref(&self) -> SwiftRef<'_, Self>
35
where
36
Self: Sized,
37
{
0 commit comments