diff --git a/examples/parse.rs b/examples/parse.rs
index 3e4ce5190ac99536663b9b477d28560af90ad21c..bedb30b81b39b707923e449630eaf800e80cb4a6 100644
--- a/examples/parse.rs
+++ b/examples/parse.rs
@@ -26,8 +26,13 @@ enum Command {
     Freq(u32),
 }
 
+fn f(s: &&str) -> bool {
+    !(s == &"")
+}
+
 fn parse(s: &str) -> Result<Command, &str> {
-    let mut iter = s.split(' ').filter(|c| !(c == &""));
+    //let mut iter = s.split(' ').filter(|c| !(c == &""));
+    let mut iter = s.split(' ').filter(f);
 
     match iter.next() {
         Some("Stop") => Ok(Command::Stop),