Skip to content

Commit a710f98

Browse files
committed
Fix tests compilation on modern Rust
1 parent 751aa43 commit a710f98

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/client/builder.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,6 @@ impl<'u> ClientBuilder<'u> {
511511
/// # extern crate rand;
512512
/// # extern crate tokio;
513513
/// # extern crate futures;
514-
/// # extern crate websocket;
515514
/// use websocket::ClientBuilder;
516515
/// use websocket::futures::{Future, Stream, Sink};
517516
/// use websocket::Message;
@@ -597,7 +596,6 @@ impl<'u> ClientBuilder<'u> {
597596
/// ```no_run
598597
/// # extern crate tokio;
599598
/// # extern crate futures;
600-
/// # extern crate websocket;
601599
/// use websocket::ClientBuilder;
602600
/// use websocket::futures::{Future, Stream, Sink};
603601
/// use websocket::Message;
@@ -660,7 +658,6 @@ impl<'u> ClientBuilder<'u> {
660658
/// ```no_run
661659
/// # extern crate tokio;
662660
/// # extern crate futures;
663-
/// # extern crate websocket;
664661
/// use websocket::ClientBuilder;
665662
/// use websocket::futures::{Future, Stream, Sink};
666663
/// use websocket::Message;
@@ -709,7 +706,6 @@ impl<'u> ClientBuilder<'u> {
709706
///
710707
/// ```rust
711708
/// # extern crate tokio;
712-
/// # extern crate websocket;
713709
/// use websocket::header::WebSocketProtocol;
714710
/// use websocket::ClientBuilder;
715711
/// use websocket::sync::stream::ReadWritePair;

src/server/upgrade/async.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ use tokio_codec::{Decoder, Framed, FramedParts};
3232
///
3333
/// ```rust,no_run
3434
/// # extern crate tokio;
35-
/// # extern crate websocket;
3635
/// use websocket::r#async::{TcpListener, TcpStream};
3736
/// use websocket::r#async::futures::{Stream, Future};
3837
/// use websocket::r#async::server::upgrade::IntoWs;
@@ -164,7 +163,6 @@ where
164163
///
165164
/// ```rust,no_run
166165
/// # extern crate tokio;
167-
/// # extern crate websocket;
168166
/// use websocket::r#async::{TcpListener, TcpStream};
169167
/// use websocket::r#async::futures::{Stream, Future};
170168
/// use websocket::r#async::server::upgrade::IntoWs;

0 commit comments

Comments
 (0)