Skip to content

Commit

Permalink
format code correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Sep 4, 2023
1 parent 7e0f7ce commit 246d9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ impl Shutdown {

/// Returns a [`Future`] that completes once one of the default signals
/// (SIGINT and CTRL-C) are received.
///
///
/// Exposed to you so you can easily expand it by for example
/// chaining it with a [`tokio::time::sleep`] to have a delay
/// before shutdown is triggered.
///
///
/// [`Future`]: std::future::Future
/// [`tokio::time::sleep`]: https://docs.rs/tokio/*/tokio/time/fn.sleep.html
pub async fn default_signal() {
Expand Down

0 comments on commit 246d9e9

Please sign in to comment.