Re:Effective substring in Rust
by letmutex on Tuesday June 11, 2024 @03:18AM
(#40643496)
Thanks for pointing that out, str slice is surely better. I returned String in all versions just because collect() returns A String and I want to reuse the same test function. Will update this later.
[ Parent
| on HN ]
There are no comments on this comment yet.