Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcabrajac committed Nov 20, 2024
1 parent 951c8a3 commit a5a24c6
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions compiler/rustc_ast/src/mut_visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1395,18 +1395,11 @@ pub fn walk_crate<T: MutVisitor>(vis: &mut T, krate: &mut Crate) {
vis.visit_span(inject_use_span);
}

pub fn walk_item(
visitor: &mut impl MutVisitor,
item: &mut P<Item<impl WalkItemKind<Ctxt = ()>>>,
) {
pub fn walk_item(visitor: &mut impl MutVisitor, item: &mut P<Item<impl WalkItemKind<Ctxt = ()>>>) {
walk_item_ctxt(visitor, item, ())
}

pub fn walk_assoc_item(
visitor: &mut impl MutVisitor,
item: &mut P<AssocItem>,
ctxt: AssocCtxt,
) {
pub fn walk_assoc_item(visitor: &mut impl MutVisitor, item: &mut P<AssocItem>, ctxt: AssocCtxt) {
walk_item_ctxt(visitor, item, ctxt)
}

Expand Down

0 comments on commit a5a24c6

Please sign in to comment.