summaryrefslogtreecommitdiff
path: root/src/to_clt/inv.rs
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-28 18:08:41 +0100
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-28 18:09:05 +0100
commit85d55e42119ea80cd1cd9e9e34c05ea7d07b3a88 (patch)
tree416c228135ab6dbf71ebba6c0a520ed8225476dd /src/to_clt/inv.rs
parent060a3bd858cc76365bfa8b1fd356211e7eb11cbf (diff)
downloadmt_net-85d55e42119ea80cd1cd9e9e34c05ea7d07b3a88.tar.xz
Use cgmath and support BS constant
Diffstat (limited to 'src/to_clt/inv.rs')
-rw-r--r--src/to_clt/inv.rs2
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")]