@@ -6,17 +6,6 @@ use time::{format_description::well_known, formatting::Formattable, OffsetDateTi
6
6
///
7
7
/// To format the current [UTC time] instead, use the [`UtcTime`] type.
8
8
///
9
- /// <div class="example-wrap" style="display:inline-block">
10
- /// <pre class="compile_fail" style="white-space:normal;font:inherit;">
11
- /// <strong>Warning</strong>: The <a href = "https://docs.rs/time/0.3/time/"><code>time</code>
12
- /// crate</a> must be compiled with <code>--cfg unsound_local_offset</code> in order to use
13
- /// local timestamps. When this cfg is not enabled, local timestamps cannot be recorded, and
14
- /// events will be logged without timestamps.
15
- ///
16
- /// See the <a href="https://docs.rs/time/0.3.4/time/#feature-flags"><code>time</code>
17
- /// documentation</a> for more details.
18
- /// </pre></div>
19
- ///
20
9
/// [local time]: https://docs.rs/time/0.3/time/struct.OffsetDateTime.html#method.now_local
21
10
/// [UTC time]: https://docs.rs/time/0.3/time/struct.OffsetDateTime.html#method.now_utc
22
11
/// [formatter]: https://docs.rs/time/0.3/time/formatting/trait.Formattable.html
@@ -76,19 +65,6 @@ impl<F: Formattable> LocalTime<F> {
76
65
/// [`time` crate] with the provided provided format. The format may be any
77
66
/// type that implements the [`Formattable`] trait.
78
67
///
79
- ///
80
- /// <div class="example-wrap" style="display:inline-block">
81
- /// <pre class="compile_fail" style="white-space:normal;font:inherit;">
82
- /// <strong>Warning</strong>: The <a href = "https://docs.rs/time/0.3/time/">
83
- /// <code>time</code> crate</a> must be compiled with <code>--cfg
84
- /// unsound_local_offset</code> in order to use local timestamps. When this
85
- /// cfg is not enabled, local timestamps cannot be recorded, and
86
- /// events will be logged without timestamps.
87
- ///
88
- /// See the <a href="https://docs.rs/time/0.3.4/time/#feature-flags">
89
- /// <code>time</code> documentation</a> for more details.
90
- /// </pre></div>
91
- ///
92
68
/// Typically, the format will be a format description string, or one of the
93
69
/// `time` crate's [well-known formats].
94
70
///
0 commit comments