]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #55705 - ethanboxx:master, r=SimonSapin
authorbors <bors@rust-lang.org>
Mon, 26 Nov 2018 01:46:18 +0000 (01:46 +0000)
committerbors <bors@rust-lang.org>
Mon, 26 Nov 2018 01:46:18 +0000 (01:46 +0000)
Make `ParseIntError` and `IntErrorKind` fully public

Why would you write nice error types if I can't read them?

# Why

It can be useful to use `match` with errors produced when parsing strings to int. This would be useful for the `.err_match()` function in my [new crate](https://crates.io/crates/read_input).

---
I could also do this for `ParseFloatError` if people think it is a good idea.
I am new around hear so please tell me if I am getting anything wrong.

1  2 
src/libcore/num/mod.rs

Simple merge