mozilla/rust — pull request #2846 by gwillen (2012-07-08 23:16:36+00:00)
Title: Add map::clear

Add clear to the map interface, and implement it in hashmap and smallintmap.

I didn't add anything to treemap, which notably doesn't implement map.

I tied my pull request to a specific commit this time instead of a branch; I'm not sure whether that's better, or whether I'll be able to change what commit, if I need to revise it. We'll see!