Skip to content

Commit

Permalink
Fix doc-test failures on password validation
Browse files Browse the repository at this point in the history
  • Loading branch information
qt2 committed Mar 7, 2023
1 parent 61af341 commit df37b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prompts/password.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl<'a> Password<'a> {
/// # Example
///
/// ```no_run
/// # use dialoguer::Input;
/// # use dialoguer::Password;
/// let password: String = Password::new()
/// .with_prompt("Enter password")
/// .validate_with(|input: &String| -> Result<(), &str> {
Expand Down

0 comments on commit df37b03

Please sign in to comment.