mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix build break from hashmap->HashMap
This commit is contained in:
parent
0fa87ebfbf
commit
cc0f4b139a
2 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ use std::cmp::FuzzyEq;
|
||||||
use task::TaskBuilder;
|
use task::TaskBuilder;
|
||||||
use vec::push;
|
use vec::push;
|
||||||
|
|
||||||
use pipes::chan;
|
use pipes::Chan;
|
||||||
|
|
||||||
type OSMain = comm::Chan<Msg>;
|
type OSMain = comm::Chan<Msg>;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ export make_url, UrlMap, url_map;
|
||||||
|
|
||||||
use std::net::url;
|
use std::net::url;
|
||||||
use std::net::url::Url;
|
use std::net::url::Url;
|
||||||
use std::map::hashmap;
|
use std::map::HashMap;
|
||||||
use path::Path;
|
use path::Path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -100,10 +100,10 @@ mod make_url_tests {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type UrlMap<T: Copy> = hashmap<Url, T>;
|
type UrlMap<T: Copy> = HashMap<Url, T>;
|
||||||
|
|
||||||
fn url_map<T: Copy>() -> UrlMap<T> {
|
fn url_map<T: Copy>() -> UrlMap<T> {
|
||||||
use core::to_str::ToStr;
|
use core::to_str::ToStr;
|
||||||
|
|
||||||
hashmap::<Url, T>()
|
HashMap::<Url, T>()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue