about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-10-15 13:41:33 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-10-15 13:41:33 +0530
commit677a9895a8343b917bd74d532b17aed9154fd9fe (patch)
tree694093408a279b2c6017fe3968954cd2cc243a1e /src/libstd/sys/unix/stack_overflow.rs
parent596338b8ef928c573865afe0d39cf7ccba587f7c (diff)
parentc8b6c125d4e13ec3f9b3d49ce17ca24b12b25ab9 (diff)
downloadrust-677a9895a8343b917bd74d532b17aed9154fd9fe.tar.gz
rust-677a9895a8343b917bd74d532b17aed9154fd9fe.zip
Rollup merge of #29062 - rgardner:rgardner-fix-book-comp-warning, r=alexcrichton
Before this commit, the first "A Rust library" code sample produced
the following compilation warning:
```
test.rs:7:22: 7:36 warning: unnecessary parentheses around `for` head
expression, #[warn(unused_parens)] on by default
test.rs:7             for _ in (0..5_000_000) {
```

This commit just removes the parens around the range 0..5_000_000 thereby removing the compilation warning.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions