chore: Fix typos in 'compiler' (batch 2)

This commit is contained in:
Alexander Cyon
2024-09-02 07:50:22 +02:00
parent 78d5c04d9c
commit 00de006f22
34 changed files with 54 additions and 54 deletions

View File

@@ -1819,7 +1819,7 @@ impl<'tcx> TyCtxt<'tcx> {
self.get_attrs(did, attr).next().is_some()
}
/// Determines whether an item is annotated with a multi-segement attribute
/// Determines whether an item is annotated with a multi-segment attribute
pub fn has_attrs_with_path(self, did: impl Into<DefId>, attrs: &[Symbol]) -> bool {
self.get_attrs_by_path(did.into(), attrs).next().is_some()
}