diff options
author | 2025-01-06 14:15:30 -0800 | |
---|---|---|
committer | 2025-01-15 17:06:03 -0800 | |
commit | 67add89955e1d5e64835d74861397eee8cc11143 (patch) | |
tree | a5f586d69196a9143d9c78ad81d28ef7fca96090 /tools | |
parent | e52da38516e7a580de8b914b4177f1fd63264ef1 (diff) |
Code changes for Rust 1.83.0
Test: m rust
Bug: 384401387
Change-Id: I647a63976830e5071cb4dac8c0480a00ecf4d973
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rootcanal/rust/src/lmp/procedure/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rootcanal/rust/src/lmp/procedure/mod.rs b/tools/rootcanal/rust/src/lmp/procedure/mod.rs index 5f93e62da9..d73c5d39e9 100644 --- a/tools/rootcanal/rust/src/lmp/procedure/mod.rs +++ b/tools/rootcanal/rust/src/lmp/procedure/mod.rs @@ -66,7 +66,7 @@ pub trait Context { /// Future for Context::receive_hci_command and Context::receive_lmp_packet pub struct ReceiveFuture<'a, C: ?Sized, P>(fn(&'a C) -> Poll<P>, &'a C); -impl<'a, C, O> Future for ReceiveFuture<'a, C, O> +impl<C, O> Future for ReceiveFuture<'_, C, O> where C: Context, { @@ -80,7 +80,7 @@ where /// Future for Context::receive_hci_command and Context::receive_lmp_packet pub struct SendAcceptedLmpPacketFuture<'a, C: ?Sized>(&'a C, lmp::Opcode); -impl<'a, C> Future for SendAcceptedLmpPacketFuture<'a, C> +impl<C> Future for SendAcceptedLmpPacketFuture<'_, C> where C: Context, { |