Skip to content

Commit

Permalink
Merge pull request #273 from phy1729/builder-example
Browse files Browse the repository at this point in the history
C-BUILDER: Avoid GNUism in example
  • Loading branch information
dtolnay authored Sep 3, 2023
2 parents 8486acc + ab0110d commit e0e515b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/type-safety.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ Command::new("/bin/cat").arg("file.txt").spawn();

// Complex configuration
let mut cmd = Command::new("/bin/ls");
cmd.arg(".");
if size_sorted {
cmd.arg("-S");
}
cmd.arg(".");
cmd.spawn();
```

Expand Down

0 comments on commit e0e515b

Please sign in to comment.