We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2745cc commit 46df26bCopy full SHA for 46df26b
1 file changed
src/types/never.md
@@ -29,6 +29,8 @@ The never type `!` is a type with no values, representing computations that neve
29
> }
30
31
>
32
+> // This does not need to check for the `Err` variant because
33
+> // `FromStr::Err` is the never type.
34
> let Ok(s) = Anything::from_str("example");
35
> ```
36
0 commit comments