Make ParseIntError and IntErrorKind fully public
This commit is contained in:
parent
6cfc603395
commit
2d1cd9ae80
1 changed files with 2 additions and 2 deletions
|
|
@ -4768,11 +4768,11 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
|
|||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct ParseIntError {
|
||||
kind: IntErrorKind,
|
||||
pub kind: IntErrorKind,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
enum IntErrorKind {
|
||||
pub enum IntErrorKind {
|
||||
Empty,
|
||||
InvalidDigit,
|
||||
Overflow,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue