core: Fix a typo in str::levdistance
auto merge of #5471 : erickt/rust/incoming, r=bstrie

I made a typo in `str::levdistance` in my str pull request. This fixes it.