]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-1211.rs
Rollup merge of #107166 - petrochenkov:nooptable, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / source / issue-1211.rs
1 fn main() {
2     for iface in &ifaces {
3         match iface.addr {
4             get_if_addrs::IfAddr::V4(ref addr) => {
5                 match addr.broadcast {
6                     Some(ip) => {
7                         sock.send_to(&buf, (ip, 8765)).expect("foobar");
8                     }
9                     _ => ()
10                 }
11             }
12             _ => ()
13         };
14     }
15 }