mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
chore: fix ChoicePrompt doc
This commit is contained in:
parent
022e9f0883
commit
86386b2ef0
@ -134,7 +134,7 @@ pub fn user_wants_to_continue(
|
|||||||
/// Choise dialog for end user with [option1/option2/...] question.
|
/// Choise dialog for end user with [option1/option2/...] question.
|
||||||
/// Each option is a [Choice] entity, holding a value "T" returned when that option is selected
|
/// Each option is a [Choice] entity, holding a value "T" returned when that option is selected
|
||||||
pub struct ChoicePrompt<'a, T: Default> {
|
pub struct ChoicePrompt<'a, T: Default> {
|
||||||
/// The message to be displayed with the placeholder text in it.
|
/// The message to be displayed before the options
|
||||||
/// e.g.: "Do you want to overwrite 'FILE'?"
|
/// e.g.: "Do you want to overwrite 'FILE'?"
|
||||||
pub prompt: String,
|
pub prompt: String,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user