-
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
This commit also: - Reorders conversion definitions so that integer types are in increasing order - Changes the implementation of `u128` to use `.into()`, since the conversion is infallible. Instead of the cast `as u128` which at first sight doesn't guarantee no truncation
- Loading branch information
1 parent
8c405b2
commit 321595b
Showing
1 changed file
with
38 additions
and
31 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