commit | 9761d85cbb99d82b6e8d022eab847e8152157ede | [log] [tgz] |
---|---|---|
author | Charisee <chiw@google.com> | Fri Jul 01 01:46:57 2022 +0000 |
committer | Charisee Chiw <chiw@google.com> | Fri Jul 01 01:49:12 2022 +0000 |
tree | 670600f878d86f2a993e0664846abf28b86e58cb | |
parent | 593b919baab07fd59d27292028f90a9d465ed918 [diff] |
Update for Rust v1.62.0 See https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix Test: run test_compiler.py Bug: 236723597 Change-Id: I98230b7584bfda1cb0119aca92e8068dfb588429
diff --git a/keystore2/tests/legacy_blobs/keystore2_legacy_blob_tests.rs b/keystore2/tests/legacy_blobs/keystore2_legacy_blob_tests.rs index 48275ae..32ecd03 100644 --- a/keystore2/tests/legacy_blobs/keystore2_legacy_blob_tests.rs +++ b/keystore2/tests/legacy_blobs/keystore2_legacy_blob_tests.rs
@@ -85,7 +85,7 @@ .expect("failed to execute pidof keystore2"); let id = String::from_utf8(output.stdout).unwrap(); - let id: String = id.chars().filter(|c| c.is_digit(10)).collect(); + let id: String = id.chars().filter(|c| c.is_ascii_digit()).collect(); let _status = std::process::Command::new("kill").arg("-9").arg(id).status().unwrap();