rust/src/test/run-pass/issue-1696.rs
Brian Anderson 3864d6d845 std: Rename the hashmap constructors to conform to new standards
Instead of using the new_ prefix just name them after their type
2012-03-14 18:19:08 -07:00

10 lines
169 B
Rust

use std;
import std::map;
import std::map::hashmap;
fn main() {
let m = map::bytes_hash();
m.insert(str::bytes("foo"), str::bytes("bar"));
log(error, m);
}