Refine docs and tests.

This commit is contained in:
Stephen Chung
2020-07-06 16:20:03 +08:00
parent 3e45d5d9a5
commit 46cdec1280
7 changed files with 10 additions and 10 deletions

View File

@@ -10,10 +10,10 @@ fn test_while() -> Result<(), Box<EvalAltResult>> {
let x = 0;
while x < 10 {
x = x + 1;
x += 1;
if x > 5 { break; }
if x > 3 { continue; }
x = x + 3;
x += 3;
}
x