Skip to content

Commit 55f00fe

Browse files
authored
Merge pull request #500 from sanders41/prompt
Remove unneeded trait
2 parents f2763f8 + 61f7cf9 commit 55f00fe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/project_info.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,7 @@ struct Prompt {
9696
default: Option<String>,
9797
}
9898

99-
trait PromptInput {
100-
fn show_prompt(&self) -> Result<String>;
101-
}
102-
103-
impl PromptInput for Prompt {
99+
impl Prompt {
104100
fn show_prompt(&self) -> Result<String> {
105101
let mut input = String::new();
106102

0 commit comments

Comments
 (0)