remove prints

This commit is contained in:
Marc-Antoine Arnaud 2018-05-30 12:37:16 +02:00
parent 0f3c2f8377
commit 93200f6d8e

View File

@ -16,11 +16,9 @@ pub fn parse(
.iter() .iter()
.map(|(_prefix, namespace)| { .map(|(_prefix, namespace)| {
Some(quote!( Some(quote!(
let mut found = false; let mut found = false;
println!("{:?}", namespace); debug!("{:?}", namespace);
for (key, value) in namespace { for (key, value) in namespace {
println!("{:?}", value);
if #namespace == value { if #namespace == value {
found = true; found = true;
} }
@ -28,7 +26,6 @@ pub fn parse(
if !found { if !found {
return Err("bad namespace".to_string()); return Err("bad namespace".to_string());
} }
// println!("{}: {}", #prefix, #namespace);
)) ))
}) })
.filter(|x| x.is_some()) .filter(|x| x.is_some())