Skip to content

Commit b23374c

Browse files
committed
Remove printlns in non-test code
1 parent 3f277ba commit b23374c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/macros/input_object.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ macro_rules! graphql_input_object {
6767
let n: String = $crate::to_camel_case(stringify!($field_name));
6868
let v: Option<&&$crate::InputValue> = $var.get(&n[..]);
6969

70-
println!("Found variable for {:?}: {:?} in {:?}", n, v, $var);
71-
7270
match v {
7371
$( Some(&&$crate::InputValue::Null) | None if true => $default, )*
7472
Some(v) => $crate::FromInputValue::from(v).unwrap(),

src/types/base.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,14 +415,11 @@ fn merge_key_into(
415415
) {
416416
match result.entry(response_name.to_owned()) {
417417
Entry::Occupied(mut e) => {
418-
println!("Merging object at '{}'", e.key());
419418
match (e.get_mut().as_mut_object_value(), value) {
420419
(Some(dest_obj), Value::Object(src_obj)) => {
421420
merge_maps(dest_obj, src_obj);
422421
},
423-
_ => {
424-
println!("Not merging object/object - this is bad :(");
425-
}
422+
_ => {}
426423
}
427424
},
428425
Entry::Vacant(e) => {

0 commit comments

Comments
 (0)