Anders429 / Anders429/substring
Use RangeBounds<usize> instead of usize.
Ouverte
- Langage dominant
- Rust
- Étoiles
- 11
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
The parameters for the `substring` method can be changed to a RangeBounds. This will allow for providing inclusive end points, as well as providing unbounded start/end points (as has been requested in #5).
This would be a breaking change, but I think it will make the library a bit easier to use. I would rather do this than introduce several methods for each specific case. It will also raise MSRV to match what is required for `RangeBounds`.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.