Skip to content

Commit e0e515b

Browse files
authored
Merge pull request #273 from phy1729/builder-example
C-BUILDER: Avoid GNUism in example
2 parents 8486acc + ab0110d commit e0e515b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type-safety.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ Command::new("/bin/cat").arg("file.txt").spawn();
230230

231231
// Complex configuration
232232
let mut cmd = Command::new("/bin/ls");
233-
cmd.arg(".");
234233
if size_sorted {
235234
cmd.arg("-S");
236235
}
236+
cmd.arg(".");
237237
cmd.spawn();
238238
```
239239

0 commit comments

Comments
 (0)