-
Notifications
You must be signed in to change notification settings - Fork 11
Idea: RangeFrom #15
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
Comments
This is objectively horrible, because it's not |
yeah I realize that now but ignore the naming is the underlying concept good/bad/meh/worth-it/not |
Another problem with treating |
Still, one of the main uses of the |
If we reserve
u32::MAX
to mean unbounded, we can haveTextRange::from(size) => size..
andTextRange::to(size) => 0..size
. (The lower unbound can just be immediately normalized to0
.)The text was updated successfully, but these errors were encountered: