Doc improvements and minor cleanups (#281)

This commit is contained in:
Tony Arcieri (iqlusion)
2021-07-12 11:57:42 -07:00
committed by GitHub
parent 47776ebf0b
commit 5f418bbd1d
8 changed files with 20 additions and 12 deletions
+1 -1
View File
@@ -133,6 +133,6 @@ impl ChuId {
impl Display for ChuId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", str::from_utf8(&hex::encode(&self.0[..])).unwrap())
f.write_str(str::from_utf8(&hex::encode(&self.0[..])).unwrap())
}
}