Skip to content

Commit 14204f6

Browse files
Auto-format: cargo fmt --all
1 parent fd0bf98 commit 14204f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/codegen/src/symboltable.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,8 +1466,7 @@ impl SymbolTableBuilder {
14661466
// Non-simple annotations (subscript, attribute, parenthesized) are
14671467
// never compiled into __annotate__, so scanning them would create
14681468
// sub_tables that desynchronize the annotation scope's sub_table index.
1469-
let is_simple_name =
1470-
*simple && matches!(&**target, Expr::Name(_));
1469+
let is_simple_name = *simple && matches!(&**target, Expr::Name(_));
14711470
if is_simple_name {
14721471
self.scan_annotation(annotation)?;
14731472
}

0 commit comments

Comments
 (0)