Add a `consume` method to SmallIntMap
Merge pull request #7679 from alexcrichton/consume-smallintmap

Add a `consume` method to SmallIntMap