We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45f71b3 + 3ccd00b commit c91fbacCopy full SHA for c91fbac
crates/macros/src/impl_.rs
@@ -187,7 +187,7 @@ pub fn parse_attribute(attr: &Attribute) -> Result<Option<ParsedAttribute>> {
187
Ok(Some(match name.as_ref() {
188
"defaults" => {
189
let defaults = HashMap::from_meta(&meta)
190
- .map_err(|_| anyhow!("Unable to parse `#[default]` macro."))?;
+ .map_err(|_| anyhow!("Unable to parse `#[defaults]` macro."))?;
191
ParsedAttribute::Default(defaults)
192
}
193
"optional" => {
0 commit comments