summaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
authordoug tangren <d.tangren@gmail.com>2018-12-23 01:15:02 +0900
committerGitHub <noreply@github.com>2018-12-23 01:15:02 +0900
commit846b69eac815942d6eff2dc2ac52db8065d8eef7 (patch)
tree2b2ef2d550d68c4f0d32370d9de5f0d7c159ab35 /src/errors.rs
parent83d7def2900b5ff2fa736b5b84074f53a57a2e35 (diff)
update travis build (#140)
* update travis build * notes on fmting * remove quotes * comment below * rouge quote * first host.port usage * fix deprecation warning
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index fa408c2..8392971 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -60,7 +60,10 @@ impl fmt::Display for Error {
write!(f, "Response doesn't have the expected format: {}", cause)
}
Error::Fault { code, .. } => write!(f, "{}", code),
- Error::ConnectionNotUpgraded => write!(f, "expected the docker host to upgrade the HTTP connection but it did not"),
+ Error::ConnectionNotUpgraded => write!(
+ f,
+ "expected the docker host to upgrade the HTTP connection but it did not"
+ ),
}
}
}