We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5da1ba4 commit e6f7ab5Copy full SHA for e6f7ab5
compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs
@@ -420,7 +420,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
420
if borrowed { ("dyn ", "(dyn ") } else { ("&dyn ", "&(dyn ") };
421
422
let sugg = if let hir::TyKind::TraitObject([_, _, ..], _) = self_ty.kind {
423
- // There are more than one trait bound, we need surrounding parentheses.
+ // There is more than one trait bound, we need surrounding parentheses.
424
vec![
425
(self_ty.span.shrink_to_lo(), paren_dyn_str.to_string()),
426
(self_ty.span.shrink_to_hi(), ")".to_string()),
0 commit comments