Skip to content

Commit 77f621b

Browse files
committed
librustc: Remove the one use of ~fn()
1 parent 6a5736d commit 77f621b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ diagnostic emitter which records when we hit a fatal error. If the task
322322
fails without recording a fatal error then we've encountered a compiler
323323
bug and need to present an error.
324324
*/
325-
pub fn monitor(f: ~fn(@diagnostic::Emitter)) {
325+
pub fn monitor(f: proc(@diagnostic::Emitter)) {
326326
use std::comm::*;
327327

328328
// XXX: This is a hack for newsched since it doesn't support split stacks.

0 commit comments

Comments
 (0)