diff options
| author | Yotam Ofek <yotam.ofek@gmail.com> | 2025-03-14 20:51:28 +0000 |
|---|---|---|
| committer | Yotam Ofek <yotam.ofek@gmail.com> | 2025-03-14 21:03:21 +0000 |
| commit | e6f7ab50c00eb754dff01fac27023a291c2ef0f4 (patch) | |
| tree | 0fcb095a89cb3c372165db094c76da47b99fc9f3 | |
| parent | 5da1ba41b3ba8573b8b16a7207b7b29f895f3dfa (diff) | |
| download | rust-e6f7ab50c00eb754dff01fac27023a291c2ef0f4.tar.gz rust-e6f7ab50c00eb754dff01fac27023a291c2ef0f4.zip | |
Small grammar fix in comment
| -rw-r--r-- | compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs b/compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs index 6ed29e04948..be726c042da 100644 --- a/compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs +++ b/compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs @@ -420,7 +420,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ { if borrowed { ("dyn ", "(dyn ") } else { ("&dyn ", "&(dyn ") }; let sugg = if let hir::TyKind::TraitObject([_, _, ..], _) = self_ty.kind { - // There are more than one trait bound, we need surrounding parentheses. + // There is more than one trait bound, we need surrounding parentheses. vec