These are chat archives for rust-lang/rust

31st
Dec 2015
Grant Miner
@llambda
Dec 31 2015 18:50
ok real dumb question...how do I specify my type in an unwrap match? e.g.: https://github.com/llambda/rreverse/blob/master/src/main.rs#L25 The unwrap part works, but I am trying to learn how to use match.
Bastien
@notkild
Dec 31 2015 18:52
You have to remove the unwrap function to use match
Konstantin Stepanov
@kstep
Dec 31 2015 19:22
Unwrap removes Option wrapper, so you have no Option to match.
Grant Miner
@llambda
Dec 31 2015 19:23
Thanks!
Vladmir
@Tzendos
Dec 31 2015 19:41
おめでとう ございます! Happy new year!
Grant Miner
@llambda
Dec 31 2015 19:46
This message was deleted
This message was deleted