diff options
| author | est31 <MTest31@outlook.com> | 2021-12-03 03:06:36 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2021-12-09 00:01:29 +0100 |
| commit | 15de4cbc4b49be2fbf082fe02f877d5f774569a5 (patch) | |
| tree | 185c0d685770003282b3797223288a765c2b21cb /compiler/rustc_codegen_llvm/src/debuginfo/mod.rs | |
| parent | e6b883c74f49f32cb5d1cbad3457f2b8805a4a38 (diff) | |
| download | rust-15de4cbc4b49be2fbf082fe02f877d5f774569a5.tar.gz rust-15de4cbc4b49be2fbf082fe02f877d5f774569a5.zip | |
Remove redundant [..]s
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/mod.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs b/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs index 2a6bf7d9b1a..b801a7c1314 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs @@ -474,7 +474,7 @@ impl DebugInfoMethods<'tcx> for CodegenCx<'ll, 'tcx> { vec![] }; - create_DIArray(DIB(cx), &template_params[..]) + create_DIArray(DIB(cx), &template_params) } fn get_parameter_names(cx: &CodegenCx<'_, '_>, generics: &ty::Generics) -> Vec<Symbol> { |
