2018-09-11 03:09:17 -05:00
|
|
|
// rustfmt-indent_style: Visual
|
|
|
|
fn foo() {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
let extra_encoder_settings = extra_encoder_settings.iter()
|
|
|
|
.filter_map(|&(name, value)| {
|
2018-10-06 08:32:38 -05:00
|
|
|
value.split()
|
|
|
|
.next()
|
|
|
|
.something()
|
|
|
|
.something2()
|
|
|
|
.something3()
|
|
|
|
.something4()
|
|
|
|
});
|
2018-09-11 03:09:17 -05:00
|
|
|
let extra_encoder_settings = extra_encoder_settings.iter()
|
|
|
|
.filter_map(|&(name, value)| {
|
2018-10-06 08:32:38 -05:00
|
|
|
value.split()
|
|
|
|
.next()
|
|
|
|
.something()
|
|
|
|
.something2()
|
|
|
|
.something3()
|
|
|
|
.something4()
|
|
|
|
})
|
2018-09-11 03:09:17 -05:00
|
|
|
.something();
|
|
|
|
if let Some(subpod) = pod.subpods.iter().find(|s| {
|
2018-10-06 08:32:38 -05:00
|
|
|
!s.plaintext
|
|
|
|
.as_ref()
|
|
|
|
.map(String::as_ref)
|
|
|
|
.unwrap_or("")
|
|
|
|
.is_empty()
|
2018-10-15 16:24:35 -05:00
|
|
|
})
|
|
|
|
{
|
2018-09-11 03:09:17 -05:00
|
|
|
do_something();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|