Merge "Fix lints from Rust 1.60.0" am: ff1750c5f6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2068630 Change-Id: Ia8dc4506def7d905cf31bd5ad01683946d459277 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
9c0851cc4e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ impl Metadata {
|
|||
}
|
||||
|
||||
/// 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(
|
||||
|
|
Loading…
Reference in a new issue