Skip to content

Commit

Permalink
Update documentation for impl Command for SimpleCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
magicant committed Jun 22, 2023
1 parent 24aa59a commit 8575eb3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yash-semantics/src/command/simple_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ use yash_syntax::syntax::Redir;
/// After executing the function body, the contexts are
/// [popped](yash_env::variable::VariableSet::pop_context).
///
/// If the execution results in a [`Divert::Return`], it is consumed, and its
/// associated exit status, if any, is set as the exit status of the simple
/// command.
///
/// ## External utility
///
/// If the target is an external utility, a subshell is created. Redirections
Expand Down

0 comments on commit 8575eb3

Please sign in to comment.