aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/setups/repl_basic.rs
diff options
context:
space:
mode:
authorWeicao-CatilGrass <1992414357@qq.com>2026-05-24 01:18:13 +0800
committerWeicao-CatilGrass <1992414357@qq.com>2026-05-24 01:18:13 +0800
commit36bcd051f29c8f94cbdf5e2d54f6ad6f85ab2f6b (patch)
tree436b2d98c727198ca7718cc88645aa657a514ddb /mingling/src/setups/repl_basic.rs
parentcc0941644ce50321af1ed5c41c68b1ec6c29cf95 (diff)
Update doc examples and fix code references in setups
Diffstat (limited to 'mingling/src/setups/repl_basic.rs')
-rw-r--r--mingling/src/setups/repl_basic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mingling/src/setups/repl_basic.rs b/mingling/src/setups/repl_basic.rs
index 5884489..fbb806e 100644
--- a/mingling/src/setups/repl_basic.rs
+++ b/mingling/src/setups/repl_basic.rs
@@ -24,12 +24,12 @@ pub enum BasicREPLPromptSetup {
}
impl BasicREPLPromptSetup {
- /// Creates a new [`BasicREPLPrompt`] with the given prompt string.
+ /// Creates a new [`BasicREPLPromptSetup`] with the given prompt string.
pub fn simple(prompt: impl Into<String>) -> Self {
Self::Prompt(prompt.into())
}
- /// Creates a new [`BasicREPLPrompt`] with the given function.
+ /// Creates a new [`BasicREPLPromptSetup`] with the given function.
pub fn func(func: fn() -> String) -> Self {
Self::Func(func)
}