File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ impl Default for ColorfulTheme {
313
313
}
314
314
315
315
impl Theme for ColorfulTheme {
316
- /// Formats a prompt.
316
+ /// Format a prompt.
317
317
fn format_prompt ( & self , f : & mut dyn fmt:: Write , prompt : & str ) -> fmt:: Result {
318
318
if !prompt. is_empty ( ) {
319
319
write ! (
@@ -327,7 +327,7 @@ impl Theme for ColorfulTheme {
327
327
write ! ( f, "{}" , & self . prompt_suffix)
328
328
}
329
329
330
- /// Formats an error
330
+ /// Format an error.
331
331
fn format_error ( & self , f : & mut dyn fmt:: Write , err : & str ) -> fmt:: Result {
332
332
write ! (
333
333
f,
@@ -337,7 +337,7 @@ impl Theme for ColorfulTheme {
337
337
)
338
338
}
339
339
340
- /// Formats an input prompt.
340
+ /// Format an input prompt.
341
341
fn format_input_prompt (
342
342
& self ,
343
343
f : & mut dyn fmt:: Write ,
@@ -364,7 +364,7 @@ impl Theme for ColorfulTheme {
364
364
}
365
365
}
366
366
367
- /// Formats a confirm prompt.
367
+ /// Format a confirmation prompt.
368
368
fn format_confirm_prompt (
369
369
& self ,
370
370
f : & mut dyn fmt:: Write ,
@@ -404,7 +404,7 @@ impl Theme for ColorfulTheme {
404
404
}
405
405
}
406
406
407
- /// Formats a confirm prompt after selection.
407
+ /// Format a confirmation prompt after selection.
408
408
fn format_confirm_prompt_selection (
409
409
& self ,
410
410
f : & mut dyn fmt:: Write ,
You can’t perform that action at this time.
0 commit comments