File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 50
50
51
51
use fmt;
52
52
53
- /// An uninhabited type used as the error type for implementations of fallible
54
- /// conversion traits in cases where they cannot actually fail.
53
+ /// A type used as the error type for implementations of fallible conversion
54
+ /// traits in cases where conversions cannot actually fail.
55
55
///
56
- /// Because `Infallible` has no constructors (variants), a value of this type
57
- /// can never exist. It is used only to satisfy trait signatures that expect
58
- /// an error type, and signals to both the compiler and the user that the error
59
- /// case is impossible.
56
+ /// Because `Infallible` has no variants, a value of this type can never exist.
57
+ /// It is used only to satisfy trait signatures that expect an error type, and
58
+ /// signals to both the compiler and the user that the error case is impossible.
60
59
#[ unstable( feature = "try_from" , issue = "33417" ) ]
61
60
pub enum Infallible { }
62
61
You can’t perform that action at this time.
0 commit comments