remove unnecessary space

This commit is contained in:
katopz
2022-07-04 18:51:02 +07:00
parent 3834b8dd52
commit 4f619bc158
7 changed files with 20 additions and 20 deletions

View File

@ -173,7 +173,7 @@ fn main() {
fn main() {
let mut s = String::new();
let update_string = |str| s.push_str(str);
let update_string = |str| s.push_str(str);
exec(update_string);
@ -260,7 +260,7 @@ move closures may still implement `Fn` or `FnMut`, even though they capture vari
fn main() {
let s = String::new();
let update_string = move || println!("{}",s);
let update_string = move || println!("{}",s);
exec(update_string);
}
@ -275,7 +275,7 @@ The following code also has no error:
fn main() {
let s = String::new();
let update_string = move || println!("{}",s);
let update_string = move || println!("{}",s);
exec(update_string);
}