Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm committed Sep 30, 2020
1 parent f922cc1 commit fa4a808
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tracing/tests/support/subscriber.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ enum Expect {

struct SpanState {
name: Cow<'static, str>,
// name: &'static str,
refs: usize,
}

Expand Down Expand Up @@ -458,8 +457,6 @@ where

fn clone_span(&self, id: &Id) -> Id {
let name = self.spans.lock().unwrap().get_mut(id).map(|span| {
// let name = span.name.into_owned();
// let name = Cow::Owned(span.name.into_owned());
let name = span.name.to_string();
println!(
"[{}] clone_span: {}; id={:?}; refs={:?};",
Expand Down

0 comments on commit fa4a808

Please sign in to comment.