Tidy up unneeded references.

This commit is contained in:
Dan Gohman
2017-10-17 11:48:29 -07:00
parent e6c6f09e41
commit 35989f4069
3 changed files with 6 additions and 6 deletions

View File

@@ -195,7 +195,7 @@ mod tests {
let jmp_ebb1_ebb2;
{
let cur = &mut FuncCursor::new(&mut func);
let mut cur = FuncCursor::new(&mut func);
cur.insert_ebb(ebb0);
br_ebb0_ebb2 = cur.ins().brnz(cond, ebb2, &[]);