Skip to content

Commit ccb789b

Browse files
committed
Format again
1 parent 577f70c commit ccb789b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crates/hir_expand/src/fixup.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ fn has_error_to_handle(node: &SyntaxNode) -> bool {
122122
has_error(node) || node.children().any(|c| !can_handle_error(&c) && has_error_to_handle(&c))
123123
}
124124

125-
pub(crate) fn reverse_fixups(tt: &mut Subtree, token_map: &TokenMap, undo_info: &SyntaxFixupUndoInfo) {
125+
pub(crate) fn reverse_fixups(
126+
tt: &mut Subtree,
127+
token_map: &TokenMap,
128+
undo_info: &SyntaxFixupUndoInfo,
129+
) {
126130
tt.token_trees.retain(|tt| match tt {
127131
tt::TokenTree::Leaf(leaf) => {
128132
token_map.synthetic_token_id(leaf.id()).is_none()

0 commit comments

Comments
 (0)