Update src/extensions/idle.rs

Co-authored-by: Jon Gjengset <jon@thesquareplanet.com>
This commit is contained in:
mordak 2021-04-05 07:03:06 -05:00 committed by GitHub
parent 2874bfd933
commit c9b7c0a3e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ use std::time::Duration;
/// logic is needed to handle the IDLE response, and then returns a [`CallbackAction`] /// logic is needed to handle the IDLE response, and then returns a [`CallbackAction`]
/// to `Continue` or `Stop` listening on the channel. /// to `Continue` or `Stop` listening on the channel.
/// For users that want the IDLE to exit on any change (the behavior proior to version 3.0), /// For users that want the IDLE to exit on any change (the behavior proior to version 3.0),
/// a convenience callback function `callback_stop` is provided. /// a convenience callback function [`callback_stop`] is provided.
/// ///
/// ```no_run /// ```no_run
/// # use native_tls::TlsConnector; /// # use native_tls::TlsConnector;