File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,12 @@ information. These conventions are documented here.
79
79
80
80
An * example term* is an example of a term being defined.
81
81
82
+ * Differences in the language by which edition the crate is compiled under are
83
+ in a blockquote that start with the words "Edition Differences:" in ** bold** .
84
+
85
+ > ** Edition Differences** : In the 2015 edition, this syntax is valid that is
86
+ > disallowed as of the 2018 edition.
87
+
82
88
* Notes that contain useful information about the state of the book or point out
83
89
useful, but mostly out of scope, information are in blockquotes that start
84
90
with the word "Note:" in ** bold** .
Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ let circle_shape = Circle::new();
134
134
let bounding_box = circle_shape . bounding_box ();
135
135
```
136
136
137
+ > ** Edition Differences** : In the 2015 edition, it is possible to declare trait
138
+ > methods with anonymous parameters (e.g. ` fn foo(u8) ` ). This is deprecated and
139
+ > an error as of the 2018 edition. All parameters must have an argument name.
140
+
137
141
## Associated Types
138
142
139
143
* Associated types* are [ type aliases] associated with another type. Associated
You can’t perform that action at this time.
0 commit comments