librustc: Remove the one use of ~fn()

This commit is contained in:
Patrick Walton 2013-11-18 15:40:29 -08:00
parent 6a5736d704
commit 77f621bff4

View File

@ -322,7 +322,7 @@ diagnostic emitter which records when we hit a fatal error. If the task
fails without recording a fatal error then we've encountered a compiler fails without recording a fatal error then we've encountered a compiler
bug and need to present an error. bug and need to present an error.
*/ */
pub fn monitor(f: ~fn(@diagnostic::Emitter)) { pub fn monitor(f: proc(@diagnostic::Emitter)) {
use std::comm::*; use std::comm::*;
// XXX: This is a hack for newsched since it doesn't support split stacks. // XXX: This is a hack for newsched since it doesn't support split stacks.