Fix lints from Rust 1.60.0
Bug: 222737227 Test: m rust Change-Id: Idd2c37516565950d82781b5cb05095548368d5fd
This commit is contained in:
parent
64f953e287
commit
96c9b1f423
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