2012-02-22 23:17:09 -06:00
|
|
|
use std;
|
|
|
|
import std::map;
|
2012-03-07 18:48:57 -06:00
|
|
|
import std::map::hashmap;
|
2012-02-22 23:17:09 -06:00
|
|
|
|
|
|
|
fn main() {
|
2012-03-14 14:07:23 -05:00
|
|
|
let m = map::bytes_hash();
|
2012-08-23 17:44:57 -05:00
|
|
|
m.insert(str::to_bytes(~"foo"), str::to_bytes(~"bar"));
|
2012-02-22 23:17:09 -06:00
|
|
|
log(error, m);
|
|
|
|
}
|