Skip to content

Commit

Permalink
remove redundant import that current rust nightly complains about (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelj authored Sep 30, 2024
1 parent d9703bf commit 2fa91fb
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/socket_types/dealer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

use crate::{comm::SenderReceiver, poll::ZmqPoller, FromZmqSocket, SocketBuilder};

Expand Down
2 changes: 1 addition & 1 deletion src/socket_types/pair.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

use crate::{comm::SenderReceiver, poll::ZmqPoller, FromZmqSocket, SocketBuilder};

Expand Down
2 changes: 1 addition & 1 deletion src/socket_types/publish.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

use crate::{poll::ZmqPoller, FromZmqSocket, Sender, SocketBuilder};

Expand Down
2 changes: 1 addition & 1 deletion src/socket_types/pull.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

use crate::{comm::Receiver, poll::ZmqPoller, FromZmqSocket, SocketBuilder};

Expand Down
2 changes: 1 addition & 1 deletion src/socket_types/push.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

use crate::{comm::Sender, poll::ZmqPoller, FromZmqSocket, SocketBuilder};

Expand Down
2 changes: 1 addition & 1 deletion src/socket_types/request_reply.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::pin::Pin;

use crate::{poll::ZmqPoller, FromZmqSocket, Multipart, SocketBuilder};
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

/// Create a builder for a REQ socket
pub fn request(context: &ZmqContext) -> SocketBuilder<RequestSender> {
Expand Down
2 changes: 1 addition & 1 deletion src/socket_types/router.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

use crate::{
comm::SenderReceiver, poll::ZmqPoller, socket::AsZmqSocket, FromZmqSocket, Result,
Expand Down
2 changes: 1 addition & 1 deletion src/socket_types/subscribe.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zmq::{self, Context as ZmqContext};
use zmq::Context as ZmqContext;

use crate::{poll::ZmqPoller, socket::AsZmqSocket, FromZmqSocket, Receiver, SocketBuilder};

Expand Down

0 comments on commit 2fa91fb

Please sign in to comment.