-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove more deprecated functionality #24636
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
I tagged this with 'beta' so we don't forget this needs to go in. |
@bors r+ |
📌 Commit cdaf880 has been approved by |
assert_eq!(s, None); | ||
let f : Option<f32> = from_str_radix("10000000000000000000000000000000000000000", 10).ok(); | ||
let f : Option<f32> = f32::from_str_radix("10000000000000000000000000000000000000000", 10).ok(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this failed tidy
☔ The latest upstream changes (presumably #24648) made this pull request unmergeable. Please resolve the merge conflicts. |
c1da532
to
92369da
Compare
⌛ Testing commit 92369da with merge 1860461... |
💔 Test failed - auto-linux-32-opt |
☔ The latest upstream changes (presumably #24620) made this pull request unmergeable. Please resolve the merge conflicts. |
Cleaning out more deprecated items
This commit removes all the old casting/generic traits from `std::num` that are no longer in use by the standard library. This additionally removes the old `strconv` module which has not seen much use in quite a long time. All generic functionality has been supplanted with traits in the `num` crate and the `strconv` module is supplanted with the [rust-strconv crate][rust-strconv]. [rust-strconv]: https://github.com/lifthrasiir/rust-strconv This is a breaking change due to the removal of these deprecated crates, and the alternative crates are listed above. [breaking-change]
3e5a4af
to
41dddce
Compare
⌛ Testing commit 41dddce with merge db958b7... |
💔 Test failed - auto-win-64-nopt-t |
41dddce
to
1a10133
Compare
@bors: r+ On Tue, Apr 21, 2015 at 12:54 PM, bors [email protected] wrote:
|
📌 Commit 1a10133 has been approved by |
⌛ Testing commit 1a10133 with merge 09e67cf... |
💔 Test failed - auto-win-64-nopt-t |
1a10133
to
028aaaa
Compare
8f0650e
to
1a19c78
Compare
This API was exercised in a few tests and mirrors the `from_str_radix` functionality of the integer types.
1a19c78
to
a568a7f
Compare
Conflicts: src/libcore/result.rs
going from nominated to (nominated, accepted) |
This removes a large amount of deprecated functionality (pre-1.0 beta). Mostly this cleans up
std::num
.