diff options
Diffstat (limited to 'src/to_clt/inv.rs')
-rw-r--r-- | src/to_clt/inv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/to_clt/inv.rs b/src/to_clt/inv.rs index 01eaa75..1a33a68 100644 --- a/src/to_clt/inv.rs +++ b/src/to_clt/inv.rs @@ -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")] |