rustc: Merge fn& and fn in favor of fn&.

This is a step on the way to moving the function "proto" sigil out front.
This commit is contained in:
Patrick Walton 2012-08-03 19:49:12 -07:00
parent 51a5a4ad0e
commit f23674394f
22 changed files with 33 additions and 44 deletions

View file

@ -178,7 +178,6 @@ enum mutability { m_mutbl, m_imm, m_const, }
#[auto_serialize]
enum proto {
proto_bare, // foreign fn
proto_any, // fn
proto_uniq, // fn~
proto_box, // fn@
proto_block, // fn&
@ -195,7 +194,7 @@ enum vstore {
pure fn is_blockish(p: ast::proto) -> bool {
alt p {
proto_any | proto_block { true }
proto_block { true }
proto_bare | proto_uniq | proto_box { false }
}
}