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

Skip to content
Commit 9e8af2db authored by Charisee's avatar Charisee Committed by Charisee Chiw
Browse files

Change request for Rust v1.70.0

error: redundant clone
   --> packages/modules/DnsResolver/doh/config.rs:199:26
    |
199 |     let cache_b = cache_a.clone();
    |                          ^^^^^^^^ help: remove this
    |
note: cloned value is neither consumed nor mutated
   --> packages/modules/DnsResolver/doh/config.rs:199:19
    |
199 |     let cache_b = cache_a.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`

error: aborting due to previous error


Test:./toolchain/android_rust/test_compiler.py --prebuilt-path dist/rust-dev.tar.gz --target aosp_cf_x86_64_phone
Bug: 285036397

Change-Id: Ifc7e3efa593262feac0d2f5b292e4ba64d305600
parent 9c71c8b5
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