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

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