aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/setups
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/setups')
-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)
}