3 ms·
What about aliasing it, marking String as deprecated in docs, 'please use StrBuf'? (Clippy warning, etc.)
by OJFord 4y ago
What about aliasing it, marking String as deprecated in docs, 'please use StrBuf'? (Clippy warning, etc.)
- steveklabnik 4y agoIn theory you could do something like this, but it would be a lot of churn for a questionable amount of gain. I probably wouldn't support it today; Rust is past being able to make these sorts of changes imho.
- howinteresting 4y agoCould it be done as part of a new edition, with cargo fix to support it?
- steveklabnik 4y agoStandard library can't vary per edition, generally speaking. Maybe there'd be a way to get around it in this case, I haven't thought much about it, honestly.