summaryrefslogtreecommitdiffstats
path: root/tokio-executor/src/error.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-05-14 10:27:36 -0700
committerGitHub <noreply@github.com>2019-05-14 10:27:36 -0700
commitcb4aea394e6851ae8cc45a68beeaf2c93cc9a0c0 (patch)
tree2158eab230c8717d3b35717e50f14fda6ca0edf1 /tokio-executor/src/error.rs
parent79d88200500f6e6c9970e1ad26469276c1a2f71f (diff)
Update Tokio to Rust 2018 (#1082)
Diffstat (limited to 'tokio-executor/src/error.rs')
-rw-r--r--tokio-executor/src/error.rs2
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())
}
}