diff options
author | Carl Lerche <me@carllerche.com> | 2019-05-14 10:27:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 10:27:36 -0700 |
commit | cb4aea394e6851ae8cc45a68beeaf2c93cc9a0c0 (patch) | |
tree | 2158eab230c8717d3b35717e50f14fda6ca0edf1 /tokio-executor/src/error.rs | |
parent | 79d88200500f6e6c9970e1ad26469276c1a2f71f (diff) |
Update Tokio to Rust 2018 (#1082)
Diffstat (limited to 'tokio-executor/src/error.rs')
-rw-r--r-- | tokio-executor/src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-executor/src/error.rs b/tokio-executor/src/error.rs index 579239f0..bf46bf56 100644 --- a/tokio-executor/src/error.rs +++ b/tokio-executor/src/error.rs @@ -38,7 +38,7 @@ impl SpawnError { } impl fmt::Display for SpawnError { - fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { write!(fmt, "{}", self.description()) } } |