Consistenifying return type

This commit is contained in:
Dave Hrycyszyn
2020-03-20 13:01:03 +00:00
parent 5caf093dca
commit 0048f1a805
+2 -2
View File
@@ -29,8 +29,8 @@ fn execute(matches: ArgMatches) {
}
}
fn usage() -> String {
String::from("usage: --help to see available options.\n\n")
fn usage() -> &'static str {
"usage: --help to see available options.\n\n"
}
fn banner() -> String {