Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Feb 14, 2024
1 parent d41ce51 commit 5dafbf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macro/src/dialect/operation/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct Attribute<'a> {
}

impl<'a> Attribute<'a> {
pub fn new(name: &'a str, constrait: AttributeConstraint<'a>) -> Result<Self, Error> {
pub fn new(name: &'a str, constraint: AttributeConstraint<'a>) -> Result<Self, Error> {
Ok(Self {
name,
sanitized_name: sanitize_snake_case_name(name)?,
Expand Down

0 comments on commit 5dafbf4

Please sign in to comment.