commit | f05210f787603477c75838df5f35ebfe52f81a82 | [log] [tgz] |
---|---|---|
author | Christian Wailes <chriswailes@google.com> | Tue Jul 27 23:06:30 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jul 27 23:06:30 2021 +0000 |
tree | 51e7a01da591d8990d422b04a7eb79e27ade7388 | |
parent | 4068ef232a1dbeeab3895db27ae4f0fd5997e51a [diff] | |
parent | 45fd2948fbbc7cad0cca5ce57325fda13cbe375d [diff] |
Merge "Fix warnings in preparation for Rust 1.53.0"
diff --git a/libs/binder/rust/src/parcel.rs b/libs/binder/rust/src/parcel.rs index a3f7620..a0e991c 100644 --- a/libs/binder/rust/src/parcel.rs +++ b/libs/binder/rust/src/parcel.rs
@@ -493,7 +493,7 @@ assert_eq!(parcel.read::<i32>().unwrap(), 15); let start = parcel.get_data_position(); - assert_eq!(parcel.read::<bool>().unwrap(), true); + assert!(parcel.read::<bool>().unwrap()); unsafe { assert!(parcel.set_data_position(start).is_ok());