1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Merge pull request #363 from ebfe/hashsum

hashsum: fix build
This commit is contained in:
Heather 2014-07-20 17:36:35 +04:00
commit 64700f4b60

View file

@ -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 {