Skip to content

Commit

Permalink
No need to be Clone
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm committed Oct 18, 2020
1 parent 856a1d8 commit 9e3f4fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tracing-core/src/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ pub struct Field {
pub struct Empty;

/// Describes the fields present on a span.
#[derive(Clone)]
pub struct FieldSet {
/// The names of each field on the described span.
names: &'static [&'static str],
Expand Down
1 change: 0 additions & 1 deletion tracing-core/src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ use core::{
/// [module path]: Self::module_path
/// [`Subscriber`]: super::subscriber::Subscriber
/// [callsite identifier]: super::callsite::Identifier
#[derive(Clone)]
pub struct Metadata<'a> {
/// The name of the span described by this metadata.
name: Cow<'a, str>,
Expand Down

0 comments on commit 9e3f4fe

Please sign in to comment.