diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-10-15 13:41:33 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-10-15 13:41:33 +0530 |
| commit | 677a9895a8343b917bd74d532b17aed9154fd9fe (patch) | |
| tree | 694093408a279b2c6017fe3968954cd2cc243a1e /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 596338b8ef928c573865afe0d39cf7ccba587f7c (diff) | |
| parent | c8b6c125d4e13ec3f9b3d49ce17ca24b12b25ab9 (diff) | |
| download | rust-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
