From 1274ca97724bc83f28912ea8344e2f22f777559c Mon Sep 17 00:00:00 2001 From: tyranron Date: Fri, 30 Aug 2024 03:30:28 +0300 Subject: [PATCH] Fix doc tests, vol.5 --- impl/doc/from_str.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impl/doc/from_str.md b/impl/doc/from_str.md index 8ffd78d3..d43e4a5c 100644 --- a/impl/doc/from_str.md +++ b/impl/doc/from_str.md @@ -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 { Ok(match src.to_lowercase().as_str() { "foo" => EnumNoFields::Foo,