aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nitrocli/src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nitrocli/src/error.rs b/nitrocli/src/error.rs
index 81d7de9..3d68401 100644
--- a/nitrocli/src/error.rs
+++ b/nitrocli/src/error.rs
@@ -53,7 +53,7 @@ impl From<string::FromUtf8Error> for Error {
impl fmt::Display for Error {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match *self {
Error::HidError(ref e) => write!(f, "hidapi error: {}", e),
Error::Utf8Error(_) => write!(f, "Encountered UTF-8 conversion error"),