Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update impl-serialize.md #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions _src/impl-serialize.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ Serde distinguishes between four types of structs. [Ordinary structs] and [tuple
structs] follow the three-step process of init, elements, end just like a
sequence or map. [Newtype structs] and [unit structs] are more like primitives.

[Ordinary structs]: https://doc.rust-lang.org/book/structs.html
[tuple structs]: https://doc.rust-lang.org/book/structs.html#tuple-structs
[Newtype structs]: https://doc.rust-lang.org/book/structs.html#tuple-structs
[unit structs]: https://doc.rust-lang.org/book/structs.html#unit-like-structs
[Ordinary structs]: https://doc.rust-lang.org/book/ch05-00-structs.html
[tuple structs]: https://doc.rust-lang.org/book/ch05-01-defining-structs.html
[Newtype structs]: https://doc.rust-lang.org/book/ch19-03-advanced-traits.html#using-the-newtype-pattern-to-implement-external-traits-on-external-types
[unit structs]: https://doc.rust-lang.org/book/ch05-01-defining-structs.html#unit-like-structs-without-any-fields

```rust
# #![allow(dead_code)]
Expand Down