- VerificationSource::DigestsFile(digest_path) => {
- match digest_path.to_string_lossy().borrow() {
- "-" => {
- writeln!(
- &mut stdout,
- "'{}' from digests on standard input",
- candidate_filename.as_ref().unwrap()
- )?;
- }
- path => {
- writeln!(
- &mut stdout,
- "'{}' in digests file '{}'",
- candidate_filename.as_ref().unwrap(),
- path
- )?;
- }
+ VerificationSource::DigestsFile(digest_path) => match digest_path.as_str() {
+ "-" => {
+ writeln!(
+ &mut stdout,
+ "'{}' from digests on standard input",
+ candidate_filename.as_ref().unwrap()
+ )?;