Skip to content

Commit 624f426

Browse files
author
Piotr Zaczkowski
committed
std is not needed obviously
1 parent 67454ab commit 624f426

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ssh-key/src/private/ecdsa.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl<const SIZE: usize> Decode for EcdsaPrivateKey<SIZE> {
4949
}
5050

5151
let mut bytes = [0u8; SIZE];
52-
reader.read(&mut bytes[..std::cmp::min(len, SIZE)])?;
52+
reader.read(&mut bytes[..core::cmp::min(len, SIZE)])?;
5353
Ok(Self { bytes })
5454
})
5555
}

0 commit comments

Comments
 (0)