diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-04 13:29:32 -0700 | 
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-04 15:47:04 -0700 | 
| commit | 200959d7cef647b34e1d7cf7f4ed2c28b65fc7dc (patch) | |
| tree | d2a2e790b95f73e30320d1e49b0566423ecb17a1 /src/rustdoc/tystr_pass.rs | |
| parent | ef880f22450c4f7e455f431ff4603f90d443b545 (diff) | |
| download | rust-200959d7cef647b34e1d7cf7f4ed2c28b65fc7dc.tar.gz rust-200959d7cef647b34e1d7cf7f4ed2c28b65fc7dc.zip | |
Remove 'with'
Diffstat (limited to 'src/rustdoc/tystr_pass.rs')
| -rw-r--r-- | src/rustdoc/tystr_pass.rs | 36 | 
1 files changed, 18 insertions, 18 deletions
| diff --git a/src/rustdoc/tystr_pass.rs b/src/rustdoc/tystr_pass.rs index 2be025f9846..518d0ae565f 100644 --- a/src/rustdoc/tystr_pass.rs +++ b/src/rustdoc/tystr_pass.rs @@ -26,8 +26,8 @@ fn run( fold_enum: fold_enum, fold_trait: fold_trait, fold_impl: fold_impl, - fold_type: fold_type - with *fold::default_any_fold(srv) + fold_type: fold_type, + .. *fold::default_any_fold(srv) }); fold.fold_doc(fold, doc) } @@ -40,8 +40,8 @@ fn fold_fn( let srv = fold.ctxt; { - sig: get_fn_sig(srv, doc.id()) - with doc + sig: get_fn_sig(srv, doc.id()), + .. doc } } @@ -91,8 +91,8 @@ fn fold_const( } _ => fail ~"fold_const: id not bound to a const item" } - }) - with doc + }), + .. doc } } @@ -128,11 +128,11 @@ fn fold_enum( }; { - sig: Some(sig) - with variant + sig: Some(sig), + .. variant } - } - with doc + }, + .. doc } } @@ -147,8 +147,8 @@ fn fold_trait( doc: doc::traitdoc ) -> doc::traitdoc { { - methods: merge_methods(fold.ctxt, doc.id(), doc.methods) - with doc + methods: merge_methods(fold.ctxt, doc.id(), doc.methods), + .. doc } } @@ -159,8 +159,8 @@ fn merge_methods( ) -> ~[doc::methoddoc] { do par::map(docs) |doc| { { - sig: get_method_sig(srv, item_id, doc.name) - with doc + sig: get_method_sig(srv, item_id, doc.name), + .. doc } } } @@ -258,8 +258,8 @@ fn fold_impl( { trait_types: trait_types, self_ty: self_ty, - methods: merge_methods(fold.ctxt, doc.id(), doc.methods) - with doc + methods: merge_methods(fold.ctxt, doc.id(), doc.methods), + .. doc } } @@ -311,8 +311,8 @@ fn fold_type( } _ => fail ~"expected type" } - } - with doc + }, + .. doc } } | 
