diff --git a/src/types/closure.md b/src/types/closure.md index 578e29faf9..f66dd1946d 100644 --- a/src/types/closure.md +++ b/src/types/closure.md @@ -391,7 +391,7 @@ let c = || match x { // Does not capture `*x`. [..] => (), // ^^ Rest pattern. }; -let _ = &mut *x; // OK: `*x` can be borrow here. +let _ = &mut *x; // OK c(); ```