mirror of
https://github.com/uutils/coreutils
synced 2024-12-15 15:52:42 +00:00
hashsum: fix build
This commit is contained in:
parent
35f43126e4
commit
c78ce06dc1
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ fn get_algo_opts(program: &str) -> Vec<getopts::OptGroup> {
|
|||
}
|
||||
}
|
||||
|
||||
fn detect_algo(program: &str, matches: &getopts::Matches) -> (&str, Box<Digest>) {
|
||||
fn detect_algo(program: &str, matches: &getopts::Matches) -> (&'static str, Box<Digest>) {
|
||||
let mut alg: Option<Box<Digest>> = None;
|
||||
let mut name: &'static str = "";
|
||||
match program {
|
||||
|
|
Loading…
Reference in a new issue