diff --git a/select.rs b/select.rs index 4626e1c..58fc28f 100644 --- a/select.rs +++ b/select.rs @@ -122,7 +122,7 @@ impl> n::s::CssSelectHandler for SelectHandlerWrapper< let mut v = ~[]; for s.split_iter(' ').advance |s| { debug!("SelectHandlerWrapper::node_classes - class: %?", s); - if s != ~"" { v.push(lwcstr_from_rust_str(s)) } + if s != "" { v.push(lwcstr_from_rust_str(s)) } } debug!("SelectHandlerWrapper::classes: %?", v); v