Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit cc734ab

Browse files
committed
Applied rustfmt.
1 parent ae7ae57 commit cc734ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/traverse.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ pub fn run_traversal<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, new: DefId) {
9595
if visited.insert(n_def_id) {
9696
mod_queue.push_back((n_def_id, n_vis));
9797
}
98-
},
98+
}
9999
Def(n_kind, n_def_id) if n_vis == Public => {
100100
match n_kind {
101-
TyAlias | Struct | Union | Enum | Trait => {
101+
TyAlias | Struct | Union | Enum | Trait => {
102102
println!("{:?}", n_def_id);
103-
},
103+
}
104104
_ => (),
105105
};
106-
},
106+
}
107107
_ => (),
108108
}
109109
}

0 commit comments

Comments
 (0)