Skip to content

Commit 45dc69d

Browse files
committed
manual: example fixup.
1 parent 196cc02 commit 45dc69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2107,7 +2107,7 @@ Both cause an early return from the caller's frame:
21072107
{
21082108
let mut _early_ret = false;
21092109
f(|j| { g(j); _early_ret = true; });
2110-
if early_ret { return; }
2110+
if _early_ret { return; }
21112111
}
21122112
21132113
do f |j| {

0 commit comments

Comments
 (0)