Skip to content

Commit

Permalink
fix new rust lints (#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Mar 27, 2024
1 parent 2dfd10c commit 5ac968b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/harness-tests/src/routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async fn unicast_messaging(ctx: &mut TestRunner) {
})
.await;

let res = vec![c1.recv().await, c2.recv().await];
let res = [c1.recv().await, c2.recv().await];
let oks: Vec<_> = res.iter().filter(|r| r.is_ok()).collect();

assert_eq!(
Expand Down
1 change: 1 addition & 0 deletions crates/ott-collector/src/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ fn should_send(event: &str) -> bool {

#[derive(Debug, Deserialize)]
#[serde(tag = "event", rename_all = "lowercase")]
#[allow(dead_code)]
#[non_exhaustive]
enum Event {
Ws(EventWebsocketMessage),
Expand Down

0 comments on commit 5ac968b

Please sign in to comment.