Fix Rust 1.44 clippy warnings

This commit is contained in:
Noah 2020-06-06 15:37:47 -05:00
parent 6708cef2a4
commit f7216a144a

View file

@ -591,7 +591,7 @@ impl<O: OutputStream> Compiler<O> {
{
return Err(self.error_loc(
CompileErrorType::AsyncReturnValue,
statement.location.clone(),
statement.location,
));
}
self.compile_expression(v)?;