Skip to content

Commit d04c077

Browse files
author
pca006132
committed
formatting
1 parent af3e7de commit d04c077

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

ast/src/ast.rs

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,19 @@ pub struct Parameter<U = ()> {
402402
#[allow(clippy::large_enum_variant)]
403403
#[derive(Debug, PartialEq)]
404404
pub enum ComprehensionKind<U = ()> {
405-
GeneratorExpression { element: Expression<U> },
406-
List { element: Expression<U> },
407-
Set { element: Expression<U> },
408-
Dict { key: Expression<U>, value: Expression<U> },
405+
GeneratorExpression {
406+
element: Expression<U>,
407+
},
408+
List {
409+
element: Expression<U>,
410+
},
411+
Set {
412+
element: Expression<U>,
413+
},
414+
Dict {
415+
key: Expression<U>,
416+
value: Expression<U>,
417+
},
409418
}
410419

411420
/// A list/set/dict/generator compression.

0 commit comments

Comments
 (0)