summaryrefslogtreecommitdiff
path: root/src/codegen/error.rs
diff options
context:
space:
mode:
authorjkozlowski <mail@jakub-kozlowski.com>2018-09-22 22:54:36 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-09-25 01:59:57 +0200
commitad2227b1e3acc6478fc2cc85d89ed5ac9f029cab (patch)
tree235d0fe5f7ce486f4dd58caef5deb7e30bc72f3c /src/codegen/error.rs
parent65f6779fd8bd677a9ab8077f0006787ed2094408 (diff)
Indicate the anonymous lifetime in Formatter.
Diffstat (limited to 'src/codegen/error.rs')
-rw-r--r--src/codegen/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/error.rs b/src/codegen/error.rs
index ccb76c5b..4b7f8827 100644
--- a/src/codegen/error.rs
+++ b/src/codegen/error.rs
@@ -14,7 +14,7 @@ pub enum Error {
}
impl fmt::Display for Error {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", error::Error::description(self))
}
}