// option. This file may not be copied, modified, or distributed
// except according to those terms.
-use std::str;
-
pub fn main() {
- let thing = ~"{{ f }}";
- let f = thing.find_str(~"{{");
+ let thing = "{{ f }}".to_owned();
+ let f = thing.find_str("{{");
if f.is_none() {
- println(~"None!");
+ println!("None!");
}
}