Skip to content

Commit

Permalink
Correct coercion from String to &str
Browse files Browse the repository at this point in the history
  • Loading branch information
int08h committed Jun 13, 2024
1 parent 8b4afc6 commit 7038ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/roughenough-client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ impl ResponseHandler {

fn main() {
let matches = App::new("roughenough client")
.version(roughenough_version().as_ref())
.version(&*roughenough_version())
.arg(Arg::with_name("host")
.required(true)
.help("The Roughtime server to connect to.")
Expand Down
2 changes: 1 addition & 1 deletion src/bin/roughenough-kms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub fn main() {
}

let matches = App::new("roughenough-kms")
.version(roughenough_version().as_ref())
.version(&*roughenough_version())
.long_about("Encrypt and decrypt Roughenough long-term server seeds using a KMS")
.arg(
Arg::with_name("KEY_ID")
Expand Down

0 comments on commit 7038ea9

Please sign in to comment.