rust/src/libsyntax/parse
Zack M. Davis d37edef9dd prefer if let to match with None => {} arm in some places
This is a spiritual succesor to #34268/8531d581, in which we replaced a
number of matches of None to the unit value with `if let` conditionals
where it was judged that this made for clearer/simpler code (as would be
recommended by Manishearth/rust-clippy's `single_match` lint). The same
rationale applies to matches of None to the empty block.
2016-07-03 16:27:02 -07:00
..
lexer prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
attr.rs prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
classify.rs Fix fallout 2016-06-17 05:21:23 +00:00
common.rs Use associated functions for libsyntax SepSeq constructors. 2016-02-22 23:24:42 -05:00
mod.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
obsolete.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
parser.rs prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
token.rs Refactored tokentrees into their own files in preparation for tokenstreams. Modified tests to point to the new file now. 2016-06-21 11:12:36 -07:00