diff --git a/book/src/actions.md b/book/src/actions.md index 149e236973ed..2ed65697397c 100644 --- a/book/src/actions.md +++ b/book/src/actions.md @@ -13,7 +13,7 @@ Filename: listings/actions/2/main.rs ```rust -{{#rustdoc_include ../listings/actions/2/main.rs:action_group}} +{{#rustdoc_include ../listings/actions/2/main.rs:build_ui}} ``` If we bind the accelerator to "custom-group.close", it works just as before. @@ -49,7 +50,7 @@ If we bind the accelerator to "custom-group.close", it works just as before. Filename: listings/actions/2/main.rs ```rust -{{#rustdoc_include ../listings/actions/2/main.rs:main}} +{{#rustdoc_include ../listings/actions/2/main.rs:accel}} ``` Also, if we had multiple instances of the same windows we would expect that only the currently focused window will be closed when activating "win.close". @@ -124,7 +125,7 @@ Filename: