diff --git a/doc/tutorial_3.md b/doc/tutorial_3.md index 1dfb38e..43d0409 100644 --- a/doc/tutorial_3.md +++ b/doc/tutorial_3.md @@ -245,7 +245,7 @@ fn add_name(s: &mut Cursive) { view.get_content() }).unwrap(); }) - .button("Cancel", |s| + .button("Cancel", |s| { s.pop_layer(); })); }