Browse Source

Fix bubblesort example

github-actions
Garrit Franke 2 years ago
parent
commit
ab95ecaa43
  1. 5
      examples/bubblesort.sb

5
examples/bubblesort.sb

@ -1,5 +1,3 @@
// Doesn't compile yet
fn main() {
let arr = [2, 5, 3, 1, 4]
let n = len(arr)
@ -22,4 +20,5 @@ fn main() {
c = c + 1
}
}
println(arr)
}

Loading…
Cancel
Save