diff options
| author | Michael Sullivan <sully@msully.net> | 2012-07-12 15:03:33 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-07-13 17:03:49 -0700 |
| commit | 985b52be6df504ce6dcef29df61ea20ab9c9323f (patch) | |
| tree | a39c70608818cb99dce14da30f67fa9aff9f0e58 /src/libsyntax/ast_util.rs | |
| parent | e4de1602226315fcb7ee3b1d7f925b5c361f001d (diff) | |
| download | rust-985b52be6df504ce6dcef29df61ea20ab9c9323f.tar.gz rust-985b52be6df504ce6dcef29df61ea20ab9c9323f.zip | |
Support prefix notation for vstore strings. Closes #2906.
Diffstat (limited to 'src/libsyntax/ast_util.rs')
| -rw-r--r-- | src/libsyntax/ast_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index 5675ecadf62..cfaa7103a58 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -381,7 +381,7 @@ fn dtor_dec() -> fn_decl { let nil_t = @{id: 0, node: ty_nil, span: dummy_sp()}; // dtor has one argument, of type () {inputs: ~[{mode: ast::expl(ast::by_ref), - ty: nil_t, ident: @"_", id: 0}], + ty: nil_t, ident: @"_"/~, id: 0}], output: nil_t, purity: impure_fn, cf: return_val, constraints: ~[]} } |
