Commit 938ab5d 1 parent ef5a0de commit 938ab5d Copy full SHA for 938ab5d
File tree 3 files changed +7
-13
lines changed
3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -501,8 +501,8 @@ impl<'a> Display for Expected + 'a {
501
501
/// by Serde.
502
502
///
503
503
/// Serde provides `Deserialize` implementations for many Rust primitive and
504
- /// standard library types. The complete list is [here][de]. All of these can
505
- /// be deserialized using Serde out of the box.
504
+ /// standard library types. The complete list is [here][crate:: de]. All of these
505
+ /// can be deserialized using Serde out of the box.
506
506
///
507
507
/// Additionally, Serde provides a procedural macro called `serde_derive` to
508
508
/// automatically generate `Deserialize` implementations for structs and enums
@@ -518,7 +518,6 @@ impl<'a> Display for Expected + 'a {
518
518
/// `LinkedHashMap<K, V>` type that is deserializable by Serde because the crate
519
519
/// provides an implementation of `Deserialize` for it.
520
520
///
521
- /// [de]: https://docs.serde.rs/serde/de/index.html
522
521
/// [derive]: https://serde.rs/derive.html
523
522
/// [impl-deserialize]: https://serde.rs/impl-deserialize.html
524
523
///
Original file line number Diff line number Diff line change @@ -194,8 +194,8 @@ declare_error_trait!(Error: Sized + Debug + Display);
194
194
/// by Serde.
195
195
///
196
196
/// Serde provides `Serialize` implementations for many Rust primitive and
197
- /// standard library types. The complete list is [here][ser]. All of these can
198
- /// be serialized using Serde out of the box.
197
+ /// standard library types. The complete list is [here][crate:: ser]. All of
198
+ /// these can be serialized using Serde out of the box.
199
199
///
200
200
/// Additionally, Serde provides a procedural macro called [`serde_derive`] to
201
201
/// automatically generate `Serialize` implementations for structs and enums in
@@ -215,7 +215,6 @@ declare_error_trait!(Error: Sized + Debug + Display);
215
215
/// [`linked-hash-map`]: https://crates.io/crates/linked-hash-map
216
216
/// [`serde_derive`]: https://crates.io/crates/serde_derive
217
217
/// [derive section of the manual]: https://serde.rs/derive.html
218
- /// [ser]: https://docs.serde.rs/serde/ser/index.html
219
218
pub trait Serialize {
220
219
/// Serialize this value into the given Serde serializer.
221
220
///
Original file line number Diff line number Diff line change 1
1
//! This crate provides a convenient concise way to write unit tests for
2
2
//! implementations of [`Serialize`] and [`Deserialize`].
3
3
//!
4
- //! [`Serialize`]: https://docs. serde.rs/serde/ ser/trait. Serialize.html
5
- //! [`Deserialize`]: https://docs. serde.rs/serde/de/trait. Deserialize.html
4
+ //! [`Serialize`]: serde:: ser:: Serialize
5
+ //! [`Deserialize`]: serde::de:: Deserialize
6
6
//!
7
7
//! The `Serialize` impl for a value can be characterized by the sequence of
8
8
//! [`Serializer`] calls that are made in the course of serializing the value,
14
14
//! test both directions. There are also functions to test expected failure
15
15
//! conditions.
16
16
//!
17
- //! [`Serializer`]: https://docs.serde.rs/serde/ser/trait.Serializer.html
18
- //! [`Token`]: https://docs.serde.rs/serde_test/enum.Token.html
19
- //! [`assert_ser_tokens`]: https://docs.serde.rs/serde_test/fn.assert_ser_tokens.html
20
- //! [`assert_de_tokens`]: https://docs.serde.rs/serde_test/fn.assert_de_tokens.html
21
- //! [`assert_tokens`]: https://docs.serde.rs/serde_test/fn.assert_tokens.html
17
+ //! [`Serializer`]: serde::ser::Serializer
22
18
//!
23
19
//! Here is an example from the [`linked-hash-map`] crate.
24
20
//!
You can’t perform that action at this time.
0 commit comments