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 {
110
110
/// would be illegal for non-zero types.
111
111
#[ stable( feature = "int_error_matching" , since = "1.47.0" ) ]
112
112
Zero ,
113
- /// The value contains nothing other than signs `+` or `-`.
113
+ /// The value contains nothing other than sign `+` or `-`.
114
114
#[ stable( feature = "int_error_matching" , since = "1.47.0" ) ]
115
115
OnlySign ,
116
116
}
@@ -135,7 +135,7 @@ impl ParseIntError {
135
135
IntErrorKind :: PosOverflow => "number too large to fit in target type" ,
136
136
IntErrorKind :: NegOverflow => "number too small to fit in target type" ,
137
137
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" ,
139
139
}
140
140
}
141
141
}
You can’t perform that action at this time.
0 commit comments