aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/example_docs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/example_docs.rs')
-rw-r--r--mingling/src/example_docs.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs
index 3b36f00..35cf024 100644
--- a/mingling/src/example_docs.rs
+++ b/mingling/src/example_docs.rs
@@ -777,7 +777,7 @@ pub mod example_combine_pathf_dispatch_tree {}
/// To make your completions work, you need to generate a completion script using Mingling's tools
///
/// 1. Enable features
-/// You need to enable the `builds` and `comp` features for `mingling` in `[build-dependencies]`
+/// You need to enable the `build` and `comp` features for `mingling` in `[build-dependencies]`
///
/// 2. Write `build.rs`
/// Write the following in `build.rs`
@@ -838,8 +838,8 @@ pub mod example_combine_pathf_dispatch_tree {}
/// "comp",
///
/// # If you want to build completion scripts,
-/// # enable `builds` features
-/// "builds",
+/// # enable `build` features
+/// "build",
/// ]
///
/// [workspace]
@@ -1649,7 +1649,7 @@ pub mod example_help {}
/// .on_pre_chain(|info| {
/// println!("[DEBUG] Pre chain: {}", info.input);
/// })
-/// .on_post_chain(|info| println!("[DEBUG] Post chain: {}", info.output.member_id))
+/// .on_post_chain(|info| println!("[DEBUG] Post chain: {}", info.output.member_id()))
/// .on_finish(|_| {
/// println!("[DEBUG] Loop end");
/// ProgramControlUnit::OverrideExitCode(0) // Override exit code
@@ -2268,8 +2268,8 @@ pub mod example_panic_unwind {}
/// # Enable `pathf` features
/// "pathf",
///
-/// # Enable the `builds` feature for build-time support
-/// "builds",
+/// # Enable the `build` feature for build-time support
+/// "build",
/// ]
///
/// [workspace]