提交 77f621bf 编写于 作者: P Patrick Walton

librustc: Remove the one use of `~fn()`

上级 6a5736d7
......@@ -322,7 +322,7 @@ fn emit(&self,
fails without recording a fatal error then we've encountered a compiler
bug and need to present an error.
*/
pub fn monitor(f: ~fn(@diagnostic::Emitter)) {
pub fn monitor(f: proc(@diagnostic::Emitter)) {
use std::comm::*;
// XXX: This is a hack for newsched since it doesn't support split stacks.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册