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

Commit d2861947 authored by James Farrell's avatar James Farrell Committed by Gerrit Code Review
Browse files

Merge "Changes for Rust 1.72" into main

parents 4fbc6280 8a655ae5
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);