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 af3e7de commit d04c077Copy full SHA for d04c077
ast/src/ast.rs
@@ -402,10 +402,19 @@ pub struct Parameter<U = ()> {
402
#[allow(clippy::large_enum_variant)]
403
#[derive(Debug, PartialEq)]
404
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> },
+ GeneratorExpression {
+ element: Expression<U>,
+ },
+ List {
409
410
411
+ Set {
412
413
414
+ Dict {
415
+ key: Expression<U>,
416
+ value: Expression<U>,
417
418
}
419
420
/// A list/set/dict/generator compression.
0 commit comments