Skip to content

Commit

Permalink
Replace futures_util::pin_mut with tokio::pin in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored and djc committed Sep 30, 2023
1 parent dc0ddb6 commit 6df177a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ where
/// let (stream, _) = listener.accept().await.unwrap();
///
/// let acceptor = tokio_rustls::LazyConfigAcceptor::new(rustls::server::Acceptor::default(), stream);
/// futures_util::pin_mut!(acceptor);
/// tokio::pin!(acceptor);
///
/// match acceptor.as_mut().await {
/// Ok(start) => {
Expand Down

0 comments on commit 6df177a

Please sign in to comment.