Closed
Description
pub impl LocalImageCache {
/// The local cache will only do a single remote request for a given
/// URL in each 'round'. Layout should call this each time it begins
pub fn next_round(on_image_available: ~fn(ImageResponseMsg)) {
self.round_number += 1;
self.on_image_available = Some(move on_image_available);
}
/home/banderson/Dev/servo/src/servo/resource/local_image_cache.rs:41:4: 41:7 error: unexpected token: `pub`
/home/banderson/Dev/servo/src/servo/resource/local_image_cache.rs:41 pub fn next_round(on_image_available: ~fn(ImageResponseMsg)) {