Add [Closure] chapter

This commit is contained in:
sunface
2022-03-31 13:49:17 +08:00
parent 8220143688
commit 562eb9247f
4 changed files with 91 additions and 6 deletions

View File

@ -66,7 +66,7 @@ fn main() {
let _v: () = ();
let v = (2, 3);
assert_eq!(v, implicitly_ret_unit())
assert_eq!(v, implicitly_ret_unit());
println!("Success!")
}