Skip to content

Commit 1795318

Browse files
committed
Remove explicit return from last line of fn
1 parent 438aeb8 commit 1795318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_codegen_ssa/mir/rvalue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
528528
}
529529
// use common size calculation for non zero-sized types
530530
let cg_value = self.codegen_place(bx, &place.as_place_ref());
531-
return cg_value.len(bx.cx());
531+
cg_value.len(bx.cx())
532532
}
533533

534534
pub fn codegen_scalar_binop(

0 commit comments

Comments
 (0)