Fix clippy warnings (#981)
* refactor: fix clippy warnings * refactor: fix redundant_closure * refactor: fix collapsible if * refactor: remove unnecessary_unwrap
This commit is contained in:
		| @@ -222,7 +222,7 @@ impl HttpBody for ImplStream { | ||||
|                 if bytes.is_empty() { | ||||
|                     None | ||||
|                 } else { | ||||
|                     Some(Ok(std::mem::replace(bytes, Bytes::new()).into())) | ||||
|                     Some(Ok(std::mem::replace(bytes, Bytes::new()))) | ||||
|                 } | ||||
|             } | ||||
|         }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user