Skip to content

Commit

Permalink
chg: title for confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
ynqa committed Mar 13, 2024
1 parent 4225ff9 commit 597251e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/confirm.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use promkit::{preset::confirm::Confirm, Result};

fn main() -> Result {
let mut p = Confirm::new("Do you like programming?").prompt()?;
let mut p = Confirm::new("Do you have a pet?").prompt()?;
println!("result: {:?}", p.run()?);
Ok(())
}

0 comments on commit 597251e

Please sign in to comment.