File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ pub enum IntErrorKind {
110110 /// would be illegal for non-zero types.
111111 #[ stable( feature = "int_error_matching" , since = "1.47.0" ) ]
112112 Zero ,
113- /// The value contains nothing other than signs `+` or `-`.
113+ /// The value contains nothing other than sign `+` or `-`.
114114 #[ stable( feature = "int_error_matching" , since = "1.47.0" ) ]
115115 OnlySign ,
116116}
@@ -135,7 +135,7 @@ impl ParseIntError {
135135 IntErrorKind :: PosOverflow => "number too large to fit in target type" ,
136136 IntErrorKind :: NegOverflow => "number too small to fit in target type" ,
137137 IntErrorKind :: Zero => "number would be zero for non-zero type" ,
138- IntErrorKind :: OnlySign => "only signs without digits found in string" ,
138+ IntErrorKind :: OnlySign => "only sign without digits found in string" ,
139139 }
140140 }
141141}
You can’t perform that action at this time.
0 commit comments