Skip to content

Commit

Permalink
fix std
Browse files Browse the repository at this point in the history
  • Loading branch information
asmello committed Oct 21, 2024
1 parent d7857c2 commit 52f435a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl FromStr for Index {
// representing a `usize` but not allowed in RFC 6901 array
// indices
Err(ParseIndexError::InvalidCharacter(InvalidCharacterError {
source: s.to_owned(),
source: String::from(s),
offset,
}))
},
Expand Down

0 comments on commit 52f435a

Please sign in to comment.