Skip to content

Commit a99bdc3

Browse files
committed
cargo fmt
1 parent 412d4bf commit a99bdc3

File tree

1 file changed

+1
-3
lines changed
  • crates/red_knot_python_semantic/src/types

1 file changed

+1
-3
lines changed

crates/red_knot_python_semantic/src/types/builder.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ impl<'db> UnionBuilder<'db> {
155155
}
156156
if !found {
157157
self.elements
158-
.push(UnionElement::IntLiterals(FxOrderSet::from_iter([
159-
literal,
160-
])));
158+
.push(UnionElement::IntLiterals(FxOrderSet::from_iter([literal])));
161159
}
162160
}
163161
// Adding `object` to a union results in `object`.

0 commit comments

Comments
 (0)