Skip to content

Commit

Permalink
Remove unnecessary clones
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Dec 15, 2022
1 parent 94da7c7 commit de57ec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query-engine/query-engine/src/capture_tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ pub struct ConfiguredCapturer {

impl ConfiguredCapturer {
pub async fn start_capturing(&self) {
self.capturer.start_capturing(self.trace_id.clone()).await
self.capturer.start_capturing(self.trace_id).await
}

pub async fn fetch_captures(&self) -> Vec<UserFacingSpan> {
self.capturer.fetch_captures(self.trace_id.clone()).await
self.capturer.fetch_captures(self.trace_id).await
}
}

Expand Down

0 comments on commit de57ec0

Please sign in to comment.