From 1b3d19fb942bfbe92ea164f6e46cfe30f6e1da04 Mon Sep 17 00:00:00 2001 From: JJ Weber Date: Sat, 25 May 2013 15:57:09 -0700 Subject: [PATCH] Unweird 'pub' token --- src/components/servo-net/local_image_cache.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/servo-net/local_image_cache.rs b/src/components/servo-net/local_image_cache.rs index b50789ed300..abdaba88c42 100644 --- a/src/components/servo-net/local_image_cache.rs +++ b/src/components/servo-net/local_image_cache.rs @@ -43,8 +43,7 @@ priv struct ImageState { 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 - // FIXME: 'pub' is an unexpected token? - /* pub */ fn next_round(&mut self, on_image_available: @fn() -> ~fn(ImageResponseMsg)) { + pub fn next_round(&mut self, on_image_available: @fn() -> ~fn(ImageResponseMsg)) { self.round_number += 1; self.on_image_available = Some(on_image_available); }