Skip to content

Commit

Permalink
Fixed debug issue in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGVSV committed Jan 16, 2022
1 parent 96cc0a6 commit 1b4a74a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bevy_proto_derive/src/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ impl Parse for ProtoCompAttr {
} else if path == INTO_IDENT {
Ok(Self::Into(ident))
} else {
Err(Error::new(
Span::call_site(),
format!("Unexpected path '{:?}'", path),
))
Err(Error::new(Span::call_site(), "Unexpected path"))
}
}
}
Expand Down

0 comments on commit 1b4a74a

Please sign in to comment.