-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
felt u64: add conversion to/from usize (#272)
This commit also: - Reorders conversion definitions so that integer types are in increasing order - Changes the conversions to use `.into()` instead of `as` casts, when the conversion is infallible. Instead of the cast like `as u128` which at first sight doesn't guarantee no truncation
- Loading branch information
1 parent
652a407
commit d3cfa14
Showing
1 changed file
with
42 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters