Skip to content

Commit

Permalink
fix: doc comments in windows signals module
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kelley committed Aug 29, 2022
1 parent ea64c5a commit b6e155f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tokio/src/signal/windows.rs
Expand Up @@ -279,6 +279,7 @@ impl CtrlClose {
/// let mut stream = ctrl_close()?;
///
/// // Print whenever a CTRL-CLOSE event is received.
/// stream.recv().await;
/// println!("got CTRL-CLOSE. Cleaning up before exiting");
///
/// Ok(())
Expand Down Expand Up @@ -375,6 +376,7 @@ impl CtrlShutdown {
/// let mut stream = ctrl_shutdown()?;
///
/// // Print whenever a CTRL-SHUTDOWN event is received.
/// stream.recv().await;
/// println!("got CTRL-SHUTDOWN. Cleaning up before exiting");
///
/// Ok(())
Expand Down

0 comments on commit b6e155f

Please sign in to comment.