Skip to content

Commit

Permalink
[nll] librustc_codegen_llvm: remove unused mut annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
memoryruins committed Aug 10, 2018
1 parent 085535b commit 0123ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_codegen_llvm/type_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn uncached_llvm_type<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>,
Type::struct_(cx, &[fill], packed)
}
Some(ref name) => {
let mut llty = Type::named_struct(cx, name);
let llty = Type::named_struct(cx, name);
llty.set_struct_body(&[fill], packed);
llty
}
Expand Down

0 comments on commit 0123ac1

Please sign in to comment.