diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-01-07 00:49:04 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-01-07 00:49:04 +0100 |
commit | 9cf950fd1618dc888b6271346386acc64c282177 (patch) | |
tree | 31b3977a2792e2fb5e001bf5c09514fe54b44e7c /src/error.rs | |
parent | a8c974d5cf836cc7f2a2f0ed47287aed77c2d7fd (diff) | |
download | mt_rudp-9cf950fd1618dc888b6271346386acc64c282177.tar.xz |
clippy
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index e048120..55566fa 100644 --- a/src/error.rs +++ b/src/error.rs @@ -47,7 +47,7 @@ impl fmt::Display for Error { write!(f, "rudp: ")?; match self { - IoError(err) => write!(f, "IO error: {}", err), + IoError(err) => write!(f, "IO error: {err}"), InvalidProtoId(id) => write!(f, "invalid protocol ID: {id}"), InvalidChannel(ch) => write!(f, "invalid channel: {ch}"), InvalidType(tp) => write!(f, "invalid type: {tp}"), |