Skip to content
This repository was archived by the owner on Nov 9, 2025. It is now read-only.

Conversation

@AndyJado
Copy link

No description provided.

@matklad
Copy link
Contributor

matklad commented Mar 25, 2023

This makes sense, but we also need to check that start <= end.

not sure what’s the best error type here, I’d rather avoid introducing a special error type just for this…

@AndyJado
Copy link
Author

AndyJado commented Mar 25, 2023

the error type is the same one from impl TryFrom<usize> for TextSize {

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants