Fix missing comma in tower-rate-limit Error impl (#58)

This should de-break the build. However, I'm concerned that this made it pass CI --- we should fix the Travis configs.
This commit is contained in:
Eliza Weisman 2018-02-28 10:39:06 -08:00 committed by Carl Lerche
parent 8acbfa80ee
commit 434b7e36f8
1 changed files with 2 additions and 3 deletions

View File

@ -183,9 +183,8 @@ where
{
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
Error::Upstream(ref why) => fmt::Display::fmt(why, f)
Error::NoCapacity =>
write!(f, "rate limit exceeded"),
Error::Upstream(ref why) => fmt::Display::fmt(why, f),
Error::NoCapacity => f.pad("rate limit exceeded"),
}
}
}