Skip to content

Commit f77dd70

Browse files
committed
std: Add reexports for core parse errors
These were forgotten reexports from #21718 Closes #21929
1 parent ac134f7 commit f77dd70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcollections/str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub use core::str::{Lines, LinesAny, MatchIndices, SplitStr, CharRange};
8080
pub use core::str::{Split, SplitTerminator};
8181
pub use core::str::{SplitN, RSplitN};
8282
pub use core::str::{from_utf8, CharEq, Chars, CharIndices, Bytes};
83-
pub use core::str::{from_utf8_unchecked, from_c_str};
83+
pub use core::str::{from_utf8_unchecked, from_c_str, ParseBoolError};
8484
pub use unicode::str::{Words, Graphemes, GraphemeIndices};
8585

8686
/*

src/libstd/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub use core::num::{from_int, from_i8, from_i16, from_i32, from_i64};
2929
pub use core::num::{from_uint, from_u8, from_u16, from_u32, from_u64};
3030
pub use core::num::{from_f32, from_f64};
3131
pub use core::num::{FromStrRadix, from_str_radix};
32-
pub use core::num::{FpCategory};
32+
pub use core::num::{FpCategory, ParseIntError, ParseFloatError};
3333

3434
use option::Option;
3535

0 commit comments

Comments
 (0)