Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8b30b9c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Adjust Safety annotation but also just silence lint warning" into main

parents f5a85835 8f06c47a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -56,8 +56,10 @@ mod inner {
        /// Register Rust callbacks for connection events
        ///
        /// # Safety
        ///
        /// `callbacks` must be Send + Sync, since C++ moves it to a different thread and
        /// invokes it from several others (GD + legacy threads).
        #[allow(clippy::missing_safety_doc)]
        #[cxx_name = "RegisterRustCallbacks"]
        unsafe fn unchecked_register_rust_callbacks(
            self: Pin<&mut Self>,