Skip to content

Commit

Permalink
More doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Feb 7, 2024
1 parent e99d60c commit 121414f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/subsystem/subsystem_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ where
/// Detaches the subsystem from the parent, causing a shutdown request to not
/// be propagated from the parent to the child automatically.
///
/// If this option is set, the parent needs to call [`NestedSubsystem::initiate_shutdown`](crate::NestedSubsystem::initiate_shutdown)
/// manually to perform a correct shutdown. So use this option with care.
/// If this option is set, the parent needs to call [`initiate_shutdown()`](crate::NestedSubsystem::initiate_shutdown)
/// on the child during shutdown, otherwise the child will not
/// react to the shutdown request. So use this option with care.
pub fn detached(mut self) -> Self {
self.detached = true;
self
Expand Down

0 comments on commit 121414f

Please sign in to comment.