Skip to content

Commit

Permalink
move arc instead of clone/drop
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 10, 2024
1 parent 35c5df8 commit a163779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus/peer-cursor/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn records_to_query_response<'a>(records: Records) -> PgWireResult<Response<
.boxed();

Ok(Response::Query(QueryResponse::new(
records.schema.clone(),
records.schema,
data_row_stream,
)))
}

0 comments on commit a163779

Please sign in to comment.