Skip to content

Commit 6292b7f

Browse files
authored
subscriber: fix wrong doc_cfg attribute (#2368)
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...
1 parent 68f830d commit 6292b7f

File tree

1 file changed

+1
-1
lines changed
  • tracing-subscriber/src/fmt/time

1 file changed

+1
-1
lines changed

tracing-subscriber/src/fmt/time/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ mod time_crate;
1212
pub use time_crate::UtcTime;
1313

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

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

0 commit comments

Comments
 (0)