Skip to content

Commit

Permalink
Remove unnecessary static
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan770 committed Mar 2, 2020
1 parent 89640af commit 8eefb39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/help.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pub const HELP_MSG: &'static str =
pub const HELP_MSG: &str =
"\nYou can check help page: https://github.com/ivan770/ares/wiki/Help";
2 changes: 1 addition & 1 deletion src/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mod input;
use actions::*;
use clap::{App, Arg};

const VERSION: &'static str = env!("CARGO_PKG_VERSION");
const VERSION: &str = env!("CARGO_PKG_VERSION");

fn main() {
let matches = App::new("ares")
Expand Down

0 comments on commit 8eefb39

Please sign in to comment.