Skip to content

Commit

Permalink
add back dropped alloc feature
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarsky committed Oct 10, 2020
1 parent 6cfb65b commit abe7718
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tracing/src/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ where
/// [span]: ../span/index.html
/// [`Collector`]: ../collector/trait.Collector.html
/// [`Event`]: ../event/struct.Event.html
#[cfg(feature = "alloc")]
#[cfg_attr(docsrs, doc(cfg(any(feature = "std", feature = "alloc"))))]
pub fn set_global_default<S>(collector: S) -> Result<(), SetGlobalDefaultError>
where
S: Collector + Send + Sync + 'static,
Expand Down

0 comments on commit abe7718

Please sign in to comment.