Skip to content

Commit

Permalink
subscriber: fix wrong doc_cfg attribute (#2368)
Browse files Browse the repository at this point in the history
This `doc_cfg` attribute's `cfg` part has multiple predicates without an
`all`, which iis what's breaking the netlify build. I'm...kind of
surprised this ever succeeded, since the cfg is malformed...
  • Loading branch information
hawkw committed Nov 4, 2022
1 parent 68f830d commit 6292b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-subscriber/src/fmt/time/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mod time_crate;
pub use time_crate::UtcTime;

#[cfg(feature = "local-time")]
#[cfg_attr(docsrs, doc(cfg(unsound_local_offset, feature = "local-time")))]
#[cfg_attr(docsrs, doc(cfg(all(unsound_local_offset, feature = "local-time"))))]
pub use time_crate::LocalTime;

/// A type that can measure and format the current time.
Expand Down

0 comments on commit 6292b7f

Please sign in to comment.