commit | b329d84b33afcb64bfd3f730e6bacaa703319218 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Apr 21 06:24:23 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Apr 21 06:24:23 2022 +0000 |
tree | f76df856578eaf3ccc5f3d3e4358087c0fd6e5b3 | |
parent | fb5b83e8129582590d1f28071ec360b170e21ec4 [diff] | |
parent | 09e0f403121035748bd88c502ef0df16d93b06b7 [diff] |
Merge "Fix lints from Rust 1.60.0" am: ff1750c5f6 am: 9c0851cc4e am: 09e0f40312 Original change: https://android-review.googlesource.com/c/platform/system/core/+/2068630 Change-Id: I94fb4f1c35528e480585fa4b107ae6169462156e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libstats/pull_rust/stats_pull.rs b/libstats/pull_rust/stats_pull.rs index 174125e..09b2623 100644 --- a/libstats/pull_rust/stats_pull.rs +++ b/libstats/pull_rust/stats_pull.rs
@@ -68,7 +68,7 @@ } /// Calls AStatsManager_PullAtomMetadata_setAdditiveFields. - pub fn set_additive_fields(&mut self, additive_fields: &mut Vec<i32>) { + pub fn set_additive_fields(&mut self, additive_fields: &mut [i32]) { // Safety: Metadata::new ensures that self.metadata is a valid object. unsafe { AStatsManager_PullAtomMetadata_setAdditiveFields(