Skip to content

Commit

Permalink
Minor doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Dec 11, 2021
1 parent 189d292 commit 7babc57
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/14_partial_shutdown_error.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//! This example demonstrates how to perform a partial shutdown of the system.
//! This example demonstrates how an error during partial shutdown behaves.
//!
//! Subsys1 will perform a partial shutdown after 5 seconds, which will in turn
//! shut down Subsys2 and Subsys3, leaving Subsys1 running.
//! If an error during partial a shutdown happens, it will not cause a global
//! shutdown, but instead it will be delivered to the task that initiated
//! the partial shutdown.
use anyhow::Result;
use env_logger::{Builder, Env};
Expand Down

0 comments on commit 7babc57

Please sign in to comment.