Permalink
Browse files

fasfsda

  • Loading branch information...
stnbu committed Nov 13, 2018
1 parent 498cccb commit e3692ebbae63e2f8c5521b04f7abb3d12ca55295
Showing with 12 additions and 1 deletion.
  1. +12 −1 src/main.rs
@@ -74,12 +74,23 @@ fn wat() {
// ...In what other context can I use _Dingus?
}
fn m_atch() {
let loki = ("Loki", true, 800u32);
let mut _foo = match loki {
(_, demi, _) if demi => 0,
(name, _, _) if name == "Bob" => 1,
(_, _, pow) if pow <= 1000 => 2,
_ => 3, // and the other things
};
_foo = 99;
}
fn main() {
get_element_n_of_string();
misreuse_of_closure();
bytes_to_utf8();
hmap();
s_truct();
e_num();
o_ption();
m_atch();
}

0 comments on commit e3692eb

Please sign in to comment.