Skip to content

Commit

Permalink
fix up by-ref for fields when std is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Feb 3, 2023
1 parent 2233fac commit e7afc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl ParseError {

impl fmt::Display for ParseError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self.0 {
match &self.0 {
ParseErrorKind::InvalidNamedFlag { got } => {
let _got = got;

Expand Down

0 comments on commit e7afc93

Please sign in to comment.