Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 4, 2023
1 parent ff8f138 commit b6d9dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macro/src/dialect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn generate_dialect(input: DialectInput) -> Result<TokenStream, Box<dyn std:
input.name(),
keeper
.all_derived_definitions("Dialect")
.find(|def| def.str_value("name") == Ok(input.name()))
.find(|definition| definition.str_value("name") == Ok(input.name()))
.ok_or_else(|| create_syn_error("dialect not found"))?,
&keeper,
)
Expand Down

0 comments on commit b6d9dbd

Please sign in to comment.