Fix Clippy lints: doc_markdown

This commit is contained in:
Brandon W Maister 2017-06-23 14:53:19 -05:00
parent ed8f406a61
commit 3e6e0e51c6
2 changed files with 5 additions and 5 deletions

View File

@ -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.
///

View File

@ -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.
///