Skip to content

Commit

Permalink
fix(doc): fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
Totodore committed Sep 17, 2023
1 parent 69e182f commit 6605011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions socketioxide/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
//! // Add a callback triggered when the socket disconnect
//! // The reason of the disconnection will be passed to the callback
//! socket.on_disconnect(|socket, reason| async move {
//! info!("Socket.IO disconnected: {} {}", socket.sid, reason);
//! println!("Socket.IO disconnected: {} {}", socket.sid, reason);
//! });
//! })
//! .add("/custom", |socket| async move {
Expand Down Expand Up @@ -73,7 +73,7 @@ pub use errors::{
AckError, AckSenderError, BroadcastError, Error as SocketError, SendError, TransportError,
};
pub use layer::SocketIoLayer;
pub use ns::Namespace;
pub use ns::{Namespace, NsHandlers};
pub use service::SocketIoService;
pub use socket::{DisconnectReason, Socket};

Expand Down

0 comments on commit 6605011

Please sign in to comment.