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

Skip to content
Commit 67a97043 authored by Charisee's avatar Charisee Committed by Charisee Chiw
Browse files

Change request for Rust v1.70.0

error: redundant clone
  --> packages/modules/Bluetooth/system/gd/rust/gddi/macros/lib.rs:19:35
   |
19 |     let ident = function.sig.ident.clone();
   |                                   ^^^^^^^^ help: remove this
   |
note: cloned value is neither consumed nor mutated
  --> packages/modules/Bluetooth/system/gd/rust/gddi/macros/lib.rs:19:17
   |
19 |     let ident = function.sig.ident.clone();
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
   = note: `-D clippy::redundant-clone` implied by `-D warnings

Test:./toolchain/android_rust/test_compiler.py --prebuilt-path dist/rust-dev.tar.gz --target aosp_cf_x86_64_phone
Bug: 285036397
Change-Id: Id327eccc147ee852426b3c93e91bfa21eb02d423
parent ddcb25ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment