1
Fork 0

Rollup merge of #123133 - xiaoxiangxianzi:master, r=fmease

chore: fix some comments
This commit is contained in:
Matthias Krüger 2024-03-27 23:27:24 +01:00 committed by GitHub
commit 45cec32ac3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 9 additions and 9 deletions

View file

@ -11,7 +11,7 @@ use super::HirTyLowerer;
impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
/// Prohibit or lint against *bare* trait object types depending on the edition.
///
/// *Bare* trait object types are ones that aren't preceeded by the keyword `dyn`.
/// *Bare* trait object types are ones that aren't preceded by the keyword `dyn`.
/// In edition 2021 and onward we emit a hard error for them.
pub(super) fn prohibit_or_lint_bare_trait_object_ty(
&self,