Skip to content

Commit 0123ac1

Browse files
committed
[nll] librustc_codegen_llvm: remove unused mut annotation
1 parent 085535b commit 0123ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_codegen_llvm/type_of.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ fn uncached_llvm_type<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>,
8989
Type::struct_(cx, &[fill], packed)
9090
}
9191
Some(ref name) => {
92-
let mut llty = Type::named_struct(cx, name);
92+
let llty = Type::named_struct(cx, name);
9393
llty.set_struct_body(&[fill], packed);
9494
llty
9595
}

0 commit comments

Comments
 (0)