mirror of
https://github.com/servo/servo.git
synced 2025-07-03 21:43:41 +01:00
Unweird 'pub' token
This commit is contained in:
parent
c6c9533cd1
commit
1b3d19fb94
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue