Skip to content
Snippets Groups Projects
Verified Commit 68ad99cd authored by Vincent Lafeychine's avatar Vincent Lafeychine
Browse files

clippy: Fix redundant_locals

parent 189a45ae
No related branches found
No related tags found
1 merge request!33Fix most of clippy::complexity and clippy::correctness
......@@ -27,7 +27,6 @@ rustflags = [
"-Aclippy::useless_format",
# clippy::correctness
"-Aclippy::redundant_locals",
"-Aclippy::unused_io_amount",
# clippy::nursery
......
......@@ -1119,7 +1119,6 @@ impl<'a, 'tcx: 'a> PoloniusInfo<'a, 'tcx> {
return Ok(None);
};
let (dest, source) = assignment.as_assign().unwrap();
let dest = dest;
let source = source.clone();
let location = self.loan_position[loan];
Ok(Some(LoanPlaces {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment