summary refs log tree commit diff
path: root/src/test/run-pass/option-ext.rs
blob: 3d9786b44b065fc133ab1614d908b1a0c6e3d700 (plain)
1
2
3
4
5
6
7
8
fn main() {
    let thing = ~"{{ f }}";
    let f = str::find_str(thing, ~"{{");

    if f.is_none() {
        io::println(~"None!");
    }
}