Remove printlns in non-test code
This commit is contained in:
parent
3f277ba8b4
commit
b23374c868
2 changed files with 1 additions and 6 deletions
|
@ -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(),
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue