Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pjedge committed Mar 5, 2024
1 parent 7f96260 commit 775e452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion martian-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ pub fn martian_struct(item: proc_macro::TokenStream) -> proc_macro::TokenStream
};

if mro_filename.is_some() && doc_comment.is_none() {
return syn::Error::new_spanned(field,
return syn::Error::new_spanned(field,
"ERROR: mro_filename attribute was specified for field but a doc comment was not defined for the field. \
mro_filename can only be specified when a doc comment is specified for a field, \
because doc comments are converted into Martian struct field descriptions which precede \
Expand Down

0 comments on commit 775e452

Please sign in to comment.