From c93b53f0c433ba993560f6ffd6d36956ab0bb503 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Mon, 8 Jul 2013 13:02:34 -0600 Subject: [PATCH] Update to latest Rust. --- select.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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