Skip to content

Commit

Permalink
chore: address clippy warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
  • Loading branch information
rvolosatovs committed Jun 18, 2024
1 parent dd0da9d commit e541fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ async fn rust_dynamic() -> anyhow::Result<()> {
.expect("failed to accept invocation")
.expect("unexpected end of stream");
assert!(rx.is_none());
assert_eq!(a, true);
assert!(a);
assert_eq!(b, 0xfe);
assert_eq!(c, 0xfeff);
assert_eq!(d, 0xfeff_ffff);
Expand Down Expand Up @@ -526,7 +526,7 @@ async fn rust_dynamic() -> anyhow::Result<()> {
)
.await
.expect("failed to invoke `foo.bar`");
assert_eq!(a, true);
assert!(a);
assert_eq!(b, 0xfe);
assert_eq!(c, 0xfeff);
assert_eq!(d, 0xfeff_ffff);
Expand Down

0 comments on commit e541fe9

Please sign in to comment.