auto merge of #5488 : pcwalton/rust/depure, r=pcwalton
This commit is contained in:
commit
e9b077c0e9
212 changed files with 2514 additions and 2550 deletions
|
@ -2214,7 +2214,7 @@ pub fn opt_sigil_to_str(opt_p: Option<ast::Sigil>) -> ~str {
|
|||
}
|
||||
}
|
||||
|
||||
pub pure fn purity_to_str(p: ast::purity) -> ~str {
|
||||
pub fn purity_to_str(p: ast::purity) -> ~str {
|
||||
match p {
|
||||
ast::impure_fn => ~"impure",
|
||||
ast::unsafe_fn => ~"unsafe",
|
||||
|
@ -2223,7 +2223,7 @@ pub pure fn purity_to_str(p: ast::purity) -> ~str {
|
|||
}
|
||||
}
|
||||
|
||||
pub pure fn onceness_to_str(o: ast::Onceness) -> ~str {
|
||||
pub fn onceness_to_str(o: ast::Onceness) -> ~str {
|
||||
match o {
|
||||
ast::Once => ~"once",
|
||||
ast::Many => ~"many"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue