24 days of Rust - leftpad
Do you remember the time when
one developer broke half of the Internet?
Earlier this year a package called
left-pad
was pulled from the NPM
registry (a counterpart of crates.io for the JavaScript folks). This caused...
some drama, to say the least. Shall we try this in Rust? Not sure about the
drama, maybe just padding a string on the left is enough. There's a crate for
that - leftpad
!