mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Clippy
This commit is contained in:
parent
7435a65d0f
commit
ed9953f564
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ pub fn build(
|
||||||
expected_file_path_string
|
expected_file_path_string
|
||||||
));
|
));
|
||||||
// Add some additional hints if run as `roc [FILENAME]`.
|
// Add some additional hints if run as `roc [FILENAME]`.
|
||||||
if let None = matches.subcommand() {
|
if matches.subcommand().is_none() {
|
||||||
error_lines.push("Did you misspell a subcommand?".to_string());
|
error_lines.push("Did you misspell a subcommand?".to_string());
|
||||||
}
|
}
|
||||||
error_lines.push("You can run `roc help` to see the list of available subcommands and for more information on how to provide a .roc file.".to_string());
|
error_lines.push("You can run `roc help` to see the list of available subcommands and for more information on how to provide a .roc file.".to_string());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue