style(lib): use rust 2018 edition idioms (#1910)
This commit is contained in:
		| @@ -94,7 +94,7 @@ mod body_length { | ||||
|     } | ||||
|  | ||||
|     impl fmt::Display for DecodedLength { | ||||
|         fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||||
|         fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||||
|             match *self { | ||||
|                 DecodedLength::CLOSE_DELIMITED => f.write_str("close-delimited"), | ||||
|                 DecodedLength::CHUNKED => f.write_str("chunked encoding"), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user