From 049045b100f2b7f5fbc36ecd36418dec1f6853cb Mon Sep 17 00:00:00 2001 From: kadmin Date: Sat, 23 Jan 2021 00:23:13 +0000 Subject: Replace todos with impls Changed to various implementations, copying the style of prior function calls in places I was unsure of. Also one minor style nit. --- compiler/rustc_codegen_ssa/src/mir/statement.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/rustc_codegen_ssa') diff --git a/compiler/rustc_codegen_ssa/src/mir/statement.rs b/compiler/rustc_codegen_ssa/src/mir/statement.rs index 774c920ee96..054273262f7 100644 --- a/compiler/rustc_codegen_ssa/src/mir/statement.rs +++ b/compiler/rustc_codegen_ssa/src/mir/statement.rs @@ -126,8 +126,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { let count = count_val.immediate_or_packed_pair(&mut bx); let dst = dst_val.immediate_or_packed_pair(&mut bx); let src = src_val.immediate_or_packed_pair(&mut bx); - use crate::MemFlags; - let flags = MemFlags::empty(); + let flags = crate::MemFlags::empty(); bx.memcpy( dst, dst_val.layout.layout.align.pref, -- cgit 1.4.1-3-g733a5