Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
louisfd committed May 22, 2024
1 parent ca1de2b commit 5efb65b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/burn-cube-macros/src/codegen/branch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ pub(crate) fn codegen_cond(
match cond {
syn::Expr::Binary(expr) => (codegen_binary(expr, loop_level, variable_analyses), false),
syn::Expr::Lit(expr) => (codegen_lit(expr), false),
syn::Expr::Path(expr) => (
codegen_path_rhs(expr, loop_level, variable_analyses),
false,
),
syn::Expr::Path(expr) => (codegen_path_rhs(expr, loop_level, variable_analyses), false),
syn::Expr::Call(expr) => parse_function_call(expr, loop_level, variable_analyses),
_ => todo!("{cond:?} cond not supported"),
}
Expand Down

0 comments on commit 5efb65b

Please sign in to comment.