Remove printlns in non-test code

This commit is contained in:
Magnus Hallin 2017-06-15 09:22:18 +02:00
parent 3f277ba8b4
commit b23374c868
2 changed files with 1 additions and 6 deletions

View file

@ -67,8 +67,6 @@ macro_rules! graphql_input_object {
let n: String = $crate::to_camel_case(stringify!($field_name));
let v: Option<&&$crate::InputValue> = $var.get(&n[..]);
println!("Found variable for {:?}: {:?} in {:?}", n, v, $var);
match v {
$( Some(&&$crate::InputValue::Null) | None if true => $default, )*
Some(v) => $crate::FromInputValue::from(v).unwrap(),

View file

@ -415,14 +415,11 @@ fn merge_key_into(
) {
match result.entry(response_name.to_owned()) {
Entry::Occupied(mut e) => {
println!("Merging object at '{}'", e.key());
match (e.get_mut().as_mut_object_value(), value) {
(Some(dest_obj), Value::Object(src_obj)) => {
merge_maps(dest_obj, src_obj);
},
_ => {
println!("Not merging object/object - this is bad :(");
}
_ => {}
}
},
Entry::Vacant(e) => {