mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-26 13:54:06 +00:00
manual: example fixup.
This commit is contained in:
parent
196cc0265c
commit
45dc69d887
@ -2107,7 +2107,7 @@ Both cause an early return from the caller's frame:
|
||||
{
|
||||
let mut _early_ret = false;
|
||||
f(|j| { g(j); _early_ret = true; });
|
||||
if early_ret { return; }
|
||||
if _early_ret { return; }
|
||||
}
|
||||
|
||||
do f |j| {
|
||||
|
Loading…
Reference in New Issue
Block a user