Anders429 / Anders429/substring
Use RangeBounds<usize> instead of usize.
未关闭
- 主要语言
- Rust
- 星标
- 11
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
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`.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。