Fix Clippy lints: doc_markdown
This commit is contained in:
parent
ed8f406a61
commit
3e6e0e51c6
|
@ -567,7 +567,7 @@ pub mod rustc_serialize {
|
|||
}
|
||||
}
|
||||
|
||||
/// A DateTime that can be deserialized from a timestamp
|
||||
/// A `DateTime` that can be deserialized from a timestamp
|
||||
///
|
||||
/// A timestamp here is seconds since the epoch
|
||||
pub struct TsSeconds<Tz: TimeZone>(DateTime<Tz>);
|
||||
|
@ -680,7 +680,7 @@ pub mod serde {
|
|||
use {DateTime, Utc, FixedOffset};
|
||||
use offset::{LocalResult, TimeZone};
|
||||
|
||||
/// Deserialize a DateTime from a seconds timestamp
|
||||
/// Deserialize a `DateTime` from a seconds timestamp
|
||||
///
|
||||
/// Intended for use with `serde`s `deserialize_with` attribute.
|
||||
///
|
||||
|
|
|
@ -1519,14 +1519,14 @@ pub mod rustc_serialize {
|
|||
|
||||
}
|
||||
|
||||
/// Tools to help serializing/deserializing NaiveDateTimes
|
||||
/// Tools to help serializing/deserializing `NaiveDateTime`s
|
||||
#[cfg(feature = "serde")]
|
||||
pub mod serde {
|
||||
use std::fmt;
|
||||
use super::{NaiveDateTime};
|
||||
use serdelib::{ser, de};
|
||||
|
||||
/// Serialize a NaiveDateTime as an RFC 3339 string
|
||||
/// Serialize a `NaiveDateTime` as an RFC 3339 string
|
||||
///
|
||||
/// See [the `serde` module](./serde/index.html) for alternate
|
||||
/// serialization formats.
|
||||
|
@ -1614,7 +1614,7 @@ pub mod serde {
|
|||
|
||||
use NaiveDateTime;
|
||||
|
||||
/// Deserialize a DateTime from a seconds timestamp
|
||||
/// Deserialize a `DateTime` from a seconds timestamp
|
||||
///
|
||||
/// Intended for use with `serde`s `deserialize_with` attribute.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue