Do not hyperlink first sentence because it shows up in index

This commit is contained in:
David Tolnay 2017-04-13 14:23:00 -07:00
parent 07bce54ad3
commit 35313257c5
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -112,12 +112,9 @@ pub use self::impossible::Impossible;
macro_rules! declare_error_trait {
(Error: Sized $(+ $($supertrait:ident)::+)*) => {
/// Trait used by [`Serialize`] implementations to generically construct
/// errors belonging to the [`Serializer`] against which they are
/// Trait used by `Serialize` implementations to generically construct
/// errors belonging to the `Serializer` against which they are
/// currently running.
///
/// [`Serialize`]: ../trait.Serialize.html
/// [`Serializer`]: ../trait.Serializer.html
pub trait Error: Sized $(+ $($supertrait)::+)* {
/// Used when a [`Serialize`] implementation encounters any error
/// while serializing a type.