Update source for Rust 1.80.1
1. Fixed documentation indentation issues
2. Avoid unnecessary borrow:
```
error: the borrowed expression implements the required traits
--> packages/modules/Virtualization/guest/microdroid_manager/src/verify.rs:275:21
|
275 | cmd.arg(&hex::encode(root_hash));
| ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `hex::encode(root_hash)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
```
Test: m rust
Bug: 361370910
Change-Id: I3afa02a699dad0197e8ed899721983cf7dcdf27a
diff --git a/android/virtmgr/fsfdt/src/lib.rs b/android/virtmgr/fsfdt/src/lib.rs
index e176b7b..ff15efa 100644
--- a/android/virtmgr/fsfdt/src/lib.rs
+++ b/android/virtmgr/fsfdt/src/lib.rs
@@ -76,7 +76,7 @@
stack.push(entry.path());
subnode_names.push(name);
} else if entry_type.is_file() {
- let value = fs::read(&entry.path())?;
+ let value = fs::read(entry.path())?;
node.setprop(&name, &value)
.map_err(|e| anyhow!("Failed to set FDT property, {e:?}"))?;