Is there a special reason the tests are all asserting inequality? To me this only indicates if it doesn't do stuff it's not supposed to do, instead of working as intended: https://github.com/hfiguiere/leftpad-rs/blob/master/src/lib....
[edit] thanks for the explanation, I'm not familiar with rust and just assumed the bang would mean !=