Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ information. These conventions are documented here.

An *example term* is an example of a term beind defined.

* Differences in the language by which edition the crate is compiled under are
in a blockquote that start with the words "Edition Differences:" in **bold**.

> **Edition Differences**: In the 2015 edition, this syntax is valid that is
> disallowed as of the 2018 edition.

* Notes that contain useful information about the state of the book or point out
useful, but mostly out of scope, information are in blockquotes that start
with the word "Note:" in **bold**.
Expand Down
4 changes: 4 additions & 0 deletions src/items/associated-items.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ let circle_shape = Circle::new();
let bounding_box = circle_shape.bounding_box();
```

> **Edition Differences**: In the 2015 edition, it is possible to declare trait
> methods with anonymous parameters (e.g. `fn foo(u8)`). This is deprecated and
> an error as of the 2018 edition. All parameters must have an argument name.

## Associated Types

*Associated types* are [type aliases] associated with another type. Associated
Expand Down