We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clippy complains:
error: casting raw pointers to the same type and constness is unnecessary (`*mut my_mod::FfiThing` -> `*mut my_mod::FfiThing`)
For this declaration:
#[swift_bridge::bridge] mod ffi { // ... extern "Rust" { type FfiThing; #[swift_bridge(swift_name = "a")] fn a(&self) -> Option<FfiX>; #[swift_bridge(swift_name = "b")] fn b(&self) -> Option<FfiY>; } // ... } pub struct FfiThing { a: Option<FfiTypeA>, b: Option<FfiTypeB>, } impl FfiViewport { fn a(&self) -> Option<FfiTypeA> { self.a.clone() } fn b(&self) -> Option<FfiTypeB> { self.b.clone() } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Clippy complains:
For this declaration:
The text was updated successfully, but these errors were encountered: