diff options
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 7dace63..a57a777 100644 --- a/src/error.rs +++ b/src/error.rs @@ -68,7 +68,7 @@ impl error::Error 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.kind { ErrorKind::StateIDOverflow { max } => write!( f, |