Skip to content

Commit 6df177a

Browse files
tottotodjc
authored andcommitted
Replace futures_util::pin_mut with tokio::pin in doc
1 parent dc0ddb6 commit 6df177a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ where
222222
/// let (stream, _) = listener.accept().await.unwrap();
223223
///
224224
/// let acceptor = tokio_rustls::LazyConfigAcceptor::new(rustls::server::Acceptor::default(), stream);
225-
/// futures_util::pin_mut!(acceptor);
225+
/// tokio::pin!(acceptor);
226226
///
227227
/// match acceptor.as_mut().await {
228228
/// Ok(start) => {

0 commit comments

Comments
 (0)