fix clippy
This commit is contained in:
1 parent
41f9c480c8
commit
aa26c086de
3 files changed
+5
-9
No files matched your search
@@ -9,7 +9,7 @@ pub(crate) fn serde_to_writable<T: Serialize>(
|
||||
write_to: &mut impl std::io::Write,
|
||||
) -> std::io::Result<()> {
|
||||
let serialized = postcard::to_allocvec(value).unwrap();
|
||||
write_to.write_all(&STANDARD.encode(serialized).as_bytes())?;
|
||||
write_to.write_all(STANDARD.encode(serialized).as_bytes())?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user