Fix level-of-indirection problem in url

This commit is contained in:
Patrick Walton 2013-02-14 12:02:20 -08:00
parent b24822e939
commit f1b2463d48

View file

@ -373,7 +373,7 @@ impl ImageCache {
} }
priv fn purge_waiters(url: Url, f: fn() -> ImageResponseMsg) { priv fn purge_waiters(url: Url, f: fn() -> ImageResponseMsg) {
match self.wait_map.find(copy url) { match self.wait_map.find(&url) {
Some(waiters) => { Some(waiters) => {
let waiters = &mut *waiters; let waiters = &mut *waiters;
let mut new_waiters = ~[]; let mut new_waiters = ~[];