This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
fn something(array: &mut Vec<i32>) { | |
let mut length = array.len(); | |
let mut swapped; | |
while length != 0 { | |
swapped = 0; |