Skip to content

Commit 6ad30d1

Browse files
authored
Fix lints (#186)
1 parent 28ac4a4 commit 6ad30d1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

examples/async_helpers/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
#[cfg(feature = "tokio-runtime")]
44
extern crate tokio;
5+
#[allow(unused_imports)]
56
#[cfg(feature = "tokio-runtime")]
67
pub use tokio::{main, test};
78

89
#[cfg(feature = "async-std-runtime")]
910
extern crate async_std;
11+
#[allow(unused_imports)]
1012
#[cfg(feature = "async-std-runtime")]
1113
pub use async_std::{main, test};
1214

src/codec/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ use futures_util::Sink;
2323
use std::pin::Pin;
2424
use std::task::{Context, Poll};
2525

26+
#[allow(clippy::enum_variant_names)]
2627
#[derive(Debug, Clone)]
2728
pub enum Message {
2829
Greeting(ZmqGreeting),

0 commit comments

Comments
 (0)