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 Apr 21, 2023
1 parent 17c1c64 commit b7c5609
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;

#[cfg(feature = "time")]
Expand Down

0 comments on commit b7c5609

Please sign in to comment.