We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412d4bf commit a99bdc3Copy full SHA for a99bdc3
crates/red_knot_python_semantic/src/types/builder.rs
@@ -155,9 +155,7 @@ impl<'db> UnionBuilder<'db> {
155
}
156
if !found {
157
self.elements
158
- .push(UnionElement::IntLiterals(FxOrderSet::from_iter([
159
- literal,
160
- ])));
+ .push(UnionElement::IntLiterals(FxOrderSet::from_iter([literal])));
161
162
163
// Adding `object` to a union results in `object`.
0 commit comments