diff options
| author | kadmin <julianknodt@gmail.com> | 2021-01-23 00:23:13 +0000 |
|---|---|---|
| committer | kadmin <julianknodt@gmail.com> | 2021-03-09 16:54:14 +0000 |
| commit | 049045b100f2b7f5fbc36ecd36418dec1f6853cb (patch) | |
| tree | f1a1fd79c0909d3cc5ae061cc88e98c25476c3df /compiler/rustc_codegen_ssa/src | |
| parent | 982382dc0361aa19e2f7e1e2b02003320d34b502 (diff) | |
| download | rust-049045b100f2b7f5fbc36ecd36418dec1f6853cb.tar.gz rust-049045b100f2b7f5fbc36ecd36418dec1f6853cb.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/statement.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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, |
