Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Weakky committed Nov 28, 2023
1 parent 731db84 commit 78bc554
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions query-engine/core/src/response_ir/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub(crate) fn serialize_internal(
serialize_record_selection(*rs, field, field.field_type(), is_list, query_schema)
}
QueryResult::RecordSelectionWithRelations(rs) => {
serialize_record_selection_with_relations(*rs, field, field.field_type(), is_list, query_schema)
serialize_record_selection_with_relations(*rs, field, field.field_type(), is_list)
}
QueryResult::RecordAggregations(ras) => serialize_aggregations(field, ras),
QueryResult::Count(c) => {
Expand Down Expand Up @@ -227,7 +227,6 @@ fn serialize_record_selection_with_relations(
field: &OutputField<'_>,
typ: &OutputType<'_>, // We additionally pass the type to allow recursing into nested type definitions of a field.
is_list: bool,
query_schema: &QuerySchema,
) -> crate::Result<CheckedItemsWithParents> {
let name = record_selection.name.clone();

Expand All @@ -237,7 +236,6 @@ fn serialize_record_selection_with_relations(
field,
&OutputType::non_list(inner.clone()),
true,
query_schema,
),
InnerOutputType::Object(obj) => {
let result = serialize_objects_with_relation(record_selection, obj)?;
Expand Down

0 comments on commit 78bc554

Please sign in to comment.