Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Jan 30, 2024
1 parent 94c0120 commit 9492197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/soroban-cli/src/commands/contract/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn possible_example_values() -> ValueParser {
}

// If fetching with example contracts fails, return a string parser that will allow for any value. It will be ignored in `init`.
ValueParser::string().into()
ValueParser::string()
}

fn with_example_help() -> String {
Expand Down Expand Up @@ -293,7 +293,7 @@ fn copy_frontend_files(from: &Path, to: &Path, template: &FrontendTemplate) {
println!("ℹ️ Initializing with {template:?} frontend template");
match template {
FrontendTemplate::Astro => {
let _ = copy_contents(&from, to);
let _ = copy_contents(from, to);
let _ = edit_package_json_files(to);
}
FrontendTemplate::None => {}
Expand Down

0 comments on commit 9492197

Please sign in to comment.