fix: unnecessary space

This commit is contained in:
katopz
2022-10-11 09:47:49 +07:00
parent de36f5cfb0
commit 81ea842fe7
6 changed files with 9 additions and 9 deletions

View File

@ -46,7 +46,7 @@ fn main() {
// A non-copy type.
let movable = Box::new(3);
// A copy type would copy into the closure leaving the original untouched.
// A copy type would copy into the closure leaving the original untouched.
// A non-copy must move and so `movable` immediately moves into
// the closure.
let consume = || {
@ -55,7 +55,7 @@ fn main() {
};
consume();
// consume();
// consume();
}
fn take<T>(_v: T) {
@ -68,7 +68,7 @@ fn main() {
// A non-copy type.
let movable = Box::new(3);
// A copy type would copy into the closure leaving the original untouched.
// A copy type would copy into the closure leaving the original untouched.
// A non-copy must move and so `movable` immediately moves into
// the closure.
let consume = || {