mozilla/rust — pull request #8384 by miloshadzic (2013-08-08 01:10:29+00:00)
Title: Add get_or_default method to HashMap.

Works like get except it doesn't fail if the key is not present. Instead it returns the passed default element.

Please review.