mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 20:41:02 +00:00
Do not hyperlink first sentence because it shows up in index
This commit is contained in:
@@ -112,12 +112,9 @@ pub use self::impossible::Impossible;
|
|||||||
|
|
||||||
macro_rules! declare_error_trait {
|
macro_rules! declare_error_trait {
|
||||||
(Error: Sized $(+ $($supertrait:ident)::+)*) => {
|
(Error: Sized $(+ $($supertrait:ident)::+)*) => {
|
||||||
/// Trait used by [`Serialize`] implementations to generically construct
|
/// Trait used by `Serialize` implementations to generically construct
|
||||||
/// errors belonging to the [`Serializer`] against which they are
|
/// errors belonging to the `Serializer` against which they are
|
||||||
/// currently running.
|
/// currently running.
|
||||||
///
|
|
||||||
/// [`Serialize`]: ../trait.Serialize.html
|
|
||||||
/// [`Serializer`]: ../trait.Serializer.html
|
|
||||||
pub trait Error: Sized $(+ $($supertrait)::+)* {
|
pub trait Error: Sized $(+ $($supertrait)::+)* {
|
||||||
/// Used when a [`Serialize`] implementation encounters any error
|
/// Used when a [`Serialize`] implementation encounters any error
|
||||||
/// while serializing a type.
|
/// while serializing a type.
|
||||||
|
|||||||
Reference in New Issue
Block a user