Skip to content

Commit

Permalink
Fix doc tests, vol.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Aug 30, 2024
1 parent 0696a13 commit 1274ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/doc/from_str.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Code like this will be generated:
# }
#
impl derive_more::core::str::FromStr for EnumNoFields {
type Err = derive_more::core::str::FromStrError;
type Err = derive_more::FromStrError;
fn from_str(src: &str) -> Result<Self, Self::Err> {
Ok(match src.to_lowercase().as_str() {
"foo" => EnumNoFields::Foo,
Expand Down

0 comments on commit 1274ca9

Please sign in to comment.