Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurBrussee committed Aug 13, 2024
1 parent 555775b commit a26655f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions crates/cubecl-macros/src/analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,22 @@ impl VariableAnalyzer {
for pat in pat_tuple.elems.iter() {
let (id, is_comptime) = find_local_declaration_ident(pat);
if let Some(id) = id {
self.variable_tracker
.analyze_declare(id.to_string(), depth, is_comptime);
self.variable_tracker.analyze_declare(
id.to_string(),
depth,
is_comptime,
);
}
}
}
_ => {
let (id, is_comptime) = find_local_declaration_ident(&local.pat);
if let Some(id) = id {
self.variable_tracker
.analyze_declare(id.to_string(), depth, is_comptime);
self.variable_tracker.analyze_declare(
id.to_string(),
depth,
is_comptime,
);
}
}
}
Expand Down

0 comments on commit a26655f

Please sign in to comment.