diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2015-09-24 18:00:08 +0300 | 
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2015-09-24 18:00:08 +0300 | 
| commit | f293ea28b4beb5821feedc862619ec539f742cc3 (patch) | |
| tree | 4dae59234f4962fa2952b70995967c4792287a52 /src/libsyntax/ast_util.rs | |
| parent | 07ca1ab1ec32ac99a61312ec07d66db5f3657040 (diff) | |
| download | rust-f293ea28b4beb5821feedc862619ec539f742cc3.tar.gz rust-f293ea28b4beb5821feedc862619ec539f742cc3.zip | |
Remove the deprecated box(PLACE) syntax.
Diffstat (limited to 'src/libsyntax/ast_util.rs')
| -rw-r--r-- | src/libsyntax/ast_util.rs | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index d024ff117f5..545c69cafff 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -101,10 +101,9 @@ pub fn is_by_value_unop(u: UnOp) -> bool { pub fn unop_to_string(op: UnOp) -> &'static str { match op { - UnUniq => "box() ", - UnDeref => "*", - UnNot => "!", - UnNeg => "-", + UnDeref => "*", + UnNot => "!", + UnNeg => "-", } } | 
