Skip to content
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

std: Add stability attributes to primitive numeric modules #15137

Closed
wants to merge 1 commit into from

Conversation

brson
Copy link
Contributor

@brson brson commented Jun 23, 2014

The following are unstable:

  • core::int, i8, i16, i32, i64
  • core::uint, u8, u16, u32, u64
  • core::int::{BITS, BYTES, MIN, MAX}, etc.
  • std::int, i8, i16, i32, i64
  • std::uint, u8, u16, u32, u64

The following are experimental:

  • std::from_str::FromStr and impls - may need to return Result instead of Option
  • std::int::parse_bytes, etc. - ditto
  • std::num::FromStrRadix and impls - ditto
  • std::num::from_str_radix - ditto

The following are deprecated:

  • std::num::ToStrRadix and impls - Wrapper around fmt::radix. Wrong name (Str vs String)

See https://github.com/rust-lang/rust/wiki/Meeting-API-review-2014-06-23#uint

@brson
Copy link
Contributor Author

brson commented Jun 23, 2014

Also deprecates int::to_str_bytes, which is a strange function that formats a number without allocating, and is unused.

The following are unstable:

- core::int, i8, i16, i32, i64
- core::uint, u8, u16, u32, u64
- core::int::{BITS, BYTES, MIN, MAX}, etc.
- std::int, i8, i16, i32, i64
- std::uint, u8, u16, u32, u64

The following are experimental:
- std::from_str::FromStr and impls - may need to return Result instead of Option
- std::int::parse_bytes, etc. - ditto
- std::num::FromStrRadix and impls - ditto
- std::num::from_str_radix - ditto

The following are deprecated:
- std::num::ToStrRadix and imples - Wrapper around fmt::radix. Wrong name (Str vs String)

See https://github.com/rust-lang/rust/wiki/Meeting-API-review-2014-06-23#uint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants