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
Loading
Please register or sign in to comment