``` rust match x { A => f(), B => g(), } ``` This does not work if f and g return different types. Since the return value is discarded, this does not matter. Alternatively: ``` rust match x { A => f();, B => g();, } ```