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

Commit df1fb091 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

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

parents dd6cc05e e8b30b9c
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>,