rust/tests
Michael Smith 411c73c12f
Add multiline_{closure,match_arm}_forces_block
multiline_closure_forces_block = false (default):
    result.and_then(|maybe_value| match maybe_value {
        None => ...,
        Some(value) => ...,
    })

multiline_closure_forces_block = true:
    result.and_then(|maybe_value| {
        match maybe_value {
            None => ...,
            Some(value) => ...,
        }
    })

multiline_match_arm_forces_block = false (default):
    match lorem {
        None => if ipsum {
            println!("Hello World");
        },
        Some(dolor) => ...,
    }

multiline_match_arm_forces_block = true:
    match lorem {
        None => {
            if ipsum {
                println!("Hello World");
            }
        }
        Some(dolor) => ...,
    }
2017-08-21 14:05:20 -07:00
..
config Remove where_indent option 2017-05-01 16:05:38 +12:00
coverage simplify tests 2016-04-05 02:45:39 +03:00
source Add multiline_{closure,match_arm}_forces_block 2017-08-21 14:05:20 -07:00
target Add multiline_{closure,match_arm}_forces_block 2017-08-21 14:05:20 -07:00
writemode Reformat tests 2017-06-13 14:42:54 +12:00
system.rs Format source codes and update tests 2017-08-09 00:16:35 +09:00