34 ms·
The author passed the input as &[char] not &str, so indexing is no problem. That's weird in its own right, but obviously not the core of the post.
by grogers 4y ago
The author passed the input as &[char] not &str, so indexing is no problem. That's weird in its own right, but obviously not the core of the post.