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

Commit 5021ea85 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix warnings from rustc 1.65.0" am: 8a7d59c6

parents 5144d416 8a7d59c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -502,7 +502,7 @@ mod tests {
        let instances = binder::get_declared_instances("android.hardware.light.ILights")
            .expect("Could not get declared instances");

        let expected_defaults = if has_lights { 1 } else { 0 };
        let expected_defaults = usize::from(has_lights);
        assert_eq!(expected_defaults, instances.iter().filter(|i| i.as_str() == "default").count());
    }