Skip to content

Commit

Permalink
Ignore unknown attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
AldaronLau committed Aug 19, 2024
1 parent 2188d9b commit e1afaf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typeful"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "Apache-2.0 OR BSL-1.0 OR MIT"
documentation = "https://docs.rs/typeful"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn impl_enum_functions(
}

if path.ident != "enum_functions" {
return Err(Error::new(path.ident.span(), "unknown attribute"));
continue;
}

let Data::Enum(ref data_enum) = data else {
Expand Down

0 comments on commit e1afaf8

Please sign in to comment.