index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
auto-loop.rs
blob: f5f0332dc431c2ad57c0ee29254b6df823d52d18 (
plain
)
1
2
3
4
5
fn main() { let mut sum = 0; for x in [1, 2, 3, 4, 5] { sum += x; } assert (sum == 15); }