]> git.lizzy.rs Git - mt_net.git/blobdiff - src/to_clt/inv.rs
Use cgmath and support BS constant
[mt_net.git] / src / to_clt / inv.rs
index 01eaa75a1edb1b860d9e6d5c6231ff472d440f2a..1a33a687968503e2cc5f0d57f25941791f36c122 100644 (file)
@@ -23,7 +23,7 @@ fn read_line(reader: &mut impl std::io::Read) -> Result<String, mt_ser::Deserial
         .try_collect::<Vec<_>>()?;
 
     String::from_utf8(utf8)
-        .map_err(|e| mt_ser::DeserializeError::Other(format!("Invalid UTF-8: {e}").into()))
+        .map_err(|e| mt_ser::DeserializeError::Other(format!("Invalid UTF-8: {e}")))
 }
 
 #[cfg(feature = "client")]