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

Implement more core operations and documentation tests #570

Merged
merged 17 commits into from
Jun 25, 2023
Merged

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented Jun 23, 2023

Changelog notes:

Added

  • We can now run documentation tests, and this has been leveraged to verify the behavior of many more std operations.

Changed

  • Integer types have been rename to match their rust equivalents:
    • byte is now named u8.
    • int is now named i64.
    • float is now named `f64.
  • As a result of the above, some module renames have taken place:
    • std::int module has been renamed std::i64.
    • std::float module has been renamed std::f64.
  • Literal operators with type hints are now supported:
    • 10u8 would correlate to a byte, which is now known as u8.
    • 10i64 would correlate to an int, which is now known as a i64.
    • 10f64 would correlate to a float, which is now known as a f64.
  • Coerce operator <value> as <type> is now supported, such as: 1u8 as f64. It's behavior matches exactly that of Rust.

@udoprog udoprog added the enhancement New feature or request label Jun 23, 2023
@udoprog udoprog changed the title Implement more operations for cmp::Ordering and more docs Implement more operations and documentation Jun 25, 2023
@udoprog udoprog added the changelog Issue has been added to the changelog label Jun 25, 2023
@udoprog udoprog changed the title Implement more operations and documentation Implement more core operations and documentation tests Jun 25, 2023
@udoprog udoprog merged commit bc41549 into main Jun 25, 2023
@udoprog udoprog deleted the more-docs branch June 25, 2023 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog Issue has been added to the changelog enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant