Skip to content

Commit c91fbac

Browse files
authored
Merge pull request #336 from yoramdelangen/fix/typo
Typo when error for #[defaults] macro
2 parents 45f71b3 + 3ccd00b commit c91fbac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/macros/src/impl_.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub fn parse_attribute(attr: &Attribute) -> Result<Option<ParsedAttribute>> {
187187
Ok(Some(match name.as_ref() {
188188
"defaults" => {
189189
let defaults = HashMap::from_meta(&meta)
190-
.map_err(|_| anyhow!("Unable to parse `#[default]` macro."))?;
190+
.map_err(|_| anyhow!("Unable to parse `#[defaults]` macro."))?;
191191
ParsedAttribute::Default(defaults)
192192
}
193193
"optional" => {

0 commit comments

Comments
 (0)