36 lines
2.1 KiB
Rust
36 lines
2.1 KiB
Rust
// rustfmt-indent_style: Visual
|
|
fn foo() {
|
|
{
|
|
{
|
|
let extra_encoder_settings = extra_encoder_settings.iter()
|
|
.filter_map(|&(name, value)| {
|
|
value.split()
|
|
.next()
|
|
.something()
|
|
.something2()
|
|
.something3()
|
|
.something4()
|
|
});
|
|
let extra_encoder_settings = extra_encoder_settings.iter()
|
|
.filter_map(|&(name, value)| {
|
|
value.split()
|
|
.next()
|
|
.something()
|
|
.something2()
|
|
.something3()
|
|
.something4()
|
|
})
|
|
.something();
|
|
if let Some(subpod) = pod.subpods.iter().find(|s| {
|
|
!s.plaintext
|
|
.as_ref()
|
|
.map(String::as_ref)
|
|
.unwrap_or("")
|
|
.is_empty()
|
|
}) {
|
|
do_something();
|
|
}
|
|
}
|
|
}
|
|
}
|