mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +00:00
fixing clippy issues
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
This commit is contained in:
parent
5291bb304f
commit
8b9e69a787
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ impl FromStr for Digest {
|
|||
|
||||
fn from_str(s: &str) -> StdResult<Self, Self::Err> {
|
||||
let str = String::from(s);
|
||||
if !s.contains(":") {
|
||||
if !s.contains(':') {
|
||||
return Ok(Digest{
|
||||
hash: String::from(s),
|
||||
algorithm: DigestAlgorithm::SHA1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue