diff options
Diffstat (limited to 'azalea-nbt/src/error.rs')
| -rwxr-xr-x | azalea-nbt/src/error.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-nbt/src/error.rs b/azalea-nbt/src/error.rs index 278d2770..219921e4 100755 --- a/azalea-nbt/src/error.rs +++ b/azalea-nbt/src/error.rs @@ -16,12 +16,12 @@ impl std::fmt::Display for Error { } impl From<std::io::Error> for Error { - fn from(err: std::io::Error) -> Self { + fn from(_: std::io::Error) -> Self { Error::WriteError } } impl From<std::string::FromUtf8Error> for Error { - fn from(err: std::string::FromUtf8Error) -> Self { + fn from(_: std::string::FromUtf8Error) -> Self { Error::WriteError } -}
\ No newline at end of file +} |
