MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / iter

Function iter

debugger/testcases/while.rs:1–9  ·  view source on GitHub ↗
(mut i: i32)

Source from the content-addressed store, hash-verified

1fn iter(mut i: i32) {
2 while true {
3 if i <= 0 {
4 break;
5 }
6 println!("{i}");
7 i -= 1;
8 }
9}
10
11fn run() {
12 iter(3);

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected