style(body): change tabs to spaces

This commit is contained in:
Sean McArthur
2017-09-08 14:03:50 -07:00
parent 112efb5879
commit 3dc2228929

View File

@@ -115,14 +115,14 @@ impl From<String> for Body {
impl From<&'static str> for Body {
#[inline]
fn from (slice: &'static str) -> Body {
fn from(slice: &'static str) -> Body {
Body(TokioBody::from(Chunk::from(slice.as_bytes())))
}
}
impl From<Cow<'static, str>> for Body {
#[inline]
fn from (cow: Cow<'static, str>) -> Body {
fn from(cow: Cow<'static, str>) -> Body {
if let Cow::Borrowed(value) = cow {
Body::from(value)
} else {