Skip to content

Commit

Permalink
Update doc comment of impl Command for Item
Browse files Browse the repository at this point in the history
The redirection was implemented in commit 02b34e7, so the TODO is
obsolete.
  • Loading branch information
magicant committed Jan 24, 2024
1 parent faac72f commit 88193f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yash-semantics/src/command/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ use yash_syntax::syntax::AndOrList;
/// exit status does not reflect the results of the and-or list; the exit status
/// is always 0.
///
/// TODO: If the `monitor` option is off, the standard input of the asynchronous
/// If the [`Monitor`] option is off, the standard input of the asynchronous
/// and-or list is implicitly redirected to `/dev/null`.
///
/// [`Monitor`]: yash_env::option::Option::Monitor
impl Command for syntax::Item {
async fn execute(&self, env: &mut Env) -> Result {
match &self.async_flag {
Expand Down

0 comments on commit 88193f5

Please sign in to comment.