]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/option-ext.rs
use + mode for (almost) everything when not using legacy modes
[rust.git] / src / test / run-pass / option-ext.rs
1 fn main() {
2     let thing = ~"{{ f }}";
3     let f = str::find_str(thing, ~"{{");
4
5     if f.is_none() {
6         io::println(~"None!");
7     }
8 }