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/guest/microdroid_manager/src/verify.rs b/guest/microdroid_manager/src/verify.rs
index 84feb68..90671a6 100644
--- a/guest/microdroid_manager/src/verify.rs
+++ b/guest/microdroid_manager/src/verify.rs
@@ -272,7 +272,7 @@
for argument in args {
cmd.arg("--apk").arg(argument.apk).arg(argument.idsig).arg(argument.name);
if let Some(root_hash) = argument.saved_root_hash {
- cmd.arg(&hex::encode(root_hash));
+ cmd.arg(hex::encode(root_hash));
} else {
cmd.arg("none");
}