Skip to content

Commit

Permalink
Fix lints (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Jan 15, 2024
1 parent 28ac4a4 commit 6ad30d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/async_helpers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

#[cfg(feature = "tokio-runtime")]
extern crate tokio;
#[allow(unused_imports)]
#[cfg(feature = "tokio-runtime")]
pub use tokio::{main, test};

#[cfg(feature = "async-std-runtime")]
extern crate async_std;
#[allow(unused_imports)]
#[cfg(feature = "async-std-runtime")]
pub use async_std::{main, test};

Expand Down
1 change: 1 addition & 0 deletions src/codec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use futures_util::Sink;
use std::pin::Pin;
use std::task::{Context, Poll};

#[allow(clippy::enum_variant_names)]
#[derive(Debug, Clone)]
pub enum Message {
Greeting(ZmqGreeting),
Expand Down

0 comments on commit 6ad30d1

Please sign in to comment.