librustc: Replace all uses of fn() with &fn(). rs=defun

This commit is contained in:
Patrick Walton
2013-03-07 14:38:38 -08:00
parent 51cdca0bf0
commit d18f785457
198 changed files with 813 additions and 812 deletions

View File

@@ -24,7 +24,7 @@ pub fn Frame(fp: *Word) -> Frame {
}
}
pub fn walk_stack(visit: fn(Frame) -> bool) {
pub fn walk_stack(visit: &fn(Frame) -> bool) {
debug!("beginning stack walk");
@@ -80,7 +80,7 @@ fn breakpoint() {
}
}
fn frame_address(f: fn(++x: *u8)) {
fn frame_address(f: &fn(++x: *u8)) {
unsafe {
rusti::frame_address(f)
}