Revert "Clean up previous commit to not require an Option"

I made a mistake and included some submodule weirdness.
About to re-push the patch without that.

This reverts commit 17ea548275.
This commit is contained in:
Tim Chevalier
2013-01-22 15:12:24 -08:00
parent 17ea548275
commit a36eacc4f9
3 changed files with 9 additions and 10 deletions

View File

@@ -440,10 +440,8 @@ fn operator_prec(op: ast::binop) -> uint {
}
}
fn dtor_ty() -> @ast::Ty { @ast::Ty {id: 0, node: ty_nil, span: dummy_sp()} }
fn dtor_dec() -> fn_decl {
let nil_t = dtor_ty();
let nil_t = @ast::Ty { id: 0, node: ty_nil, span: dummy_sp() };
// dtor has no args
ast::fn_decl {
inputs: ~[],