Skip to content

Commit e6f7ab5

Browse files
committed
Small grammar fix in comment
1 parent 5da1ba4 commit e6f7ab5

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_analysis/src/hir_ty_lowering

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
420420
if borrowed { ("dyn ", "(dyn ") } else { ("&dyn ", "&(dyn ") };
421421

422422
let sugg = if let hir::TyKind::TraitObject([_, _, ..], _) = self_ty.kind {
423-
// There are more than one trait bound, we need surrounding parentheses.
423+
// There is more than one trait bound, we need surrounding parentheses.
424424
vec![
425425
(self_ty.span.shrink_to_lo(), paren_dyn_str.to_string()),
426426
(self_ty.span.shrink_to_hi(), ")".to_string()),

0 commit comments

Comments
 (0)