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

Commit f6c3600a authored by James Farrell's avatar James Farrell Committed by Automerger Merge Worker
Browse files

Merge "Changes for Rust 1.72" into main am: d2861947

parents 63cc591c d2861947
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ use tokio::{
    task::spawn_local,
};

use crate::{core::address::AddressWithType, do_in_rust_thread};
use crate::do_in_rust_thread;

use super::{
    attempt_manager::ConnectionMode,
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ impl<T: GattDatastore + ?Sized> RawGattDatastore for T {
    /// Execute or cancel any prepared writes
    async fn execute(&self, _: TransportIndex, _: TransactionDecision) -> Result<(), AttErrorCode> {
        // we never do prepared writes, so who cares
        return Ok(());
        Ok(())
    }
}

+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ impl GattDatabase {
        }

        // if we made it here, we successfully loaded the new service
        static_data.attributes.extend(attributes.clone().into_iter());
        static_data.attributes.extend(attributes.clone());

        // re-entrancy via the listeners is possible, so we prevent it by dropping here
        drop(static_data);