Skip to content

Commit

Permalink
Remove unused Debug bounds (#17)
Browse files Browse the repository at this point in the history
This prevents `tracing_android_trace` being used with `tracing_tracy`,
unless `tracing_tracy` is added last
  • Loading branch information
DJMcNab authored Nov 19, 2024
1 parent cde245e commit 0cdb14a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ You can find its changes [documented below](#011---2024-06-14).

### Fixed

- Remove never used Debug bounds ([#17][] by [@DJMcNab])

## [0.1.1] - 2024-06-14

### Added
Expand All @@ -41,6 +43,7 @@ You can find its changes [documented below](#011---2024-06-14).
[#11]: https://github.com/linebender/android_trace/pull/11
[#12]: https://github.com/linebender/android_trace/pull/12
[#13]: https://github.com/linebender/android_trace/pull/13
[#17]: https://github.com/linebender/android_trace/pull/17

[Unreleased]: https://github.com/linebender/android_trace/compare/v0.1.1...HEAD
[0.1.1]: https://github.com/linebender/android_trace/compare/v0.1.0...v0.1.1
Expand Down
3 changes: 1 addition & 2 deletions tracing_android_trace/src/sync_layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ struct ATraceExtension {

impl<S> tracing_subscriber::Layer<S> for AndroidTraceLayer
where
S: tracing::Subscriber + for<'a> LookupSpan<'a> + Debug,
for<'a> <S as LookupSpan<'a>>::Data: Debug,
S: tracing::Subscriber + for<'a> LookupSpan<'a>,
{
fn on_new_span(
&self,
Expand Down

0 comments on commit 0cdb14a

Please sign in to comment.