File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ impl<'a> StringPrompt<'a> {
50
50
51
51
fn create_password_prompt ( & self ) -> Option < Password > {
52
52
if let VariantOrUnknownOrEmpty :: Item ( StringFormat :: Password ) = self . string . format {
53
- let mut prompt = Password :: new ( & self . message )
53
+ let mut prompt = Password :: new ( self . message )
54
54
. with_display_mode ( inquire:: PasswordDisplayMode :: Masked )
55
55
. without_confirmation ( ) ;
56
56
prompt. help_message = self . description ;
@@ -63,7 +63,7 @@ impl<'a> StringPrompt<'a> {
63
63
64
64
fn create_date_prompt ( & self ) -> Option < DateSelect > {
65
65
if let VariantOrUnknownOrEmpty :: Item ( StringFormat :: Date ) = self . string . format {
66
- let mut prompt = DateSelect :: new ( & self . message )
66
+ let mut prompt = DateSelect :: new ( self . message )
67
67
. with_vim_mode ( true )
68
68
. with_week_start ( chrono:: Weekday :: Sun ) ;
69
69
prompt. help_message = self . description ;
You can’t perform that action at this time.
0 commit comments