• shape_warrior_t@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 months ago

    There’s a good chance I can make use of str::substr_range on a current project of mine. I’ll be storing some substrings from str::split, and now I can store the original string and ranges of indices into it instead of making an owned string for every substring.