@@ -79,18 +79,18 @@ private ItemNode getAChildSuccessor(ItemNode item, string name, SuccessorKind ki
7979}
8080
8181/**
82- * Holds if `n` is superceded by an attribute macro expansion. That is, `n` is
82+ * Holds if `n` is superseded by an attribute macro expansion. That is, `n` is
8383 * an item or a transitive child of an item with an attribute macro expansion.
8484 */
85- predicate supercededByAttributeMacroExpansion ( AstNode n ) {
85+ predicate supersededByAttributeMacroExpansion ( AstNode n ) {
8686 n .( Item ) .hasAttributeMacroExpansion ( )
8787 or
8888 exists ( AstNode parent |
8989 n .getParentNode ( ) = parent and
90- supercededByAttributeMacroExpansion ( parent ) and
90+ supersededByAttributeMacroExpansion ( parent ) and
9191 // Don't exclude expansions themselves as they supercede other nodes.
9292 not n = parent .( Item ) .getAttributeMacroExpansion ( ) and
93- // Don't consider attributes themselves to be superceded . E.g., in `#[a] fn
93+ // Don't consider attributes themselves to be superseded . E.g., in `#[a] fn
9494 // f() {}` the macro expansion supercedes `fn f() {}` but not `#[a]`.
9595 not n instanceof Attr
9696 )
@@ -175,8 +175,8 @@ predicate supercededByAttributeMacroExpansion(AstNode n) {
175175 */
176176abstract class ItemNode extends Locatable {
177177 ItemNode ( ) {
178- // Exclude items that are superceded by the expansion of an attribute macro.
179- not supercededByAttributeMacroExpansion ( this )
178+ // Exclude items that are superseded by the expansion of an attribute macro.
179+ not supersededByAttributeMacroExpansion ( this )
180180 }
181181
182182 /** Gets the (original) name of this item. */
0 commit comments