Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1f91f79 authored by Chris Wailes's avatar Chris Wailes Committed by Steven Moreland
Browse files

Fix lints from Rust 1.60.0

Bug: 222737227
Test: m rust
Change-Id: Ibe5deea7a295adf837e8f68aa7abb55ff240f8fd
parent ebfcecb7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,8 +117,8 @@ fn on_transact(
) -> Result<(), StatusCode> {
    match code {
        bindings::Transaction_TEST_BOOL => {
            assert_eq!(parcel.read::<bool>()?, true);
            assert_eq!(parcel.read::<bool>()?, false);
            assert!(parcel.read::<bool>()?);
            assert!(!parcel.read::<bool>()?);
            assert_eq!(parcel.read::<Vec<bool>>()?, unsafe {
                bindings::TESTDATA_BOOL
            });