diff options
| author | Nick Hamann <nick@wabbo.org> | 2015-06-09 03:05:24 -0500 |
|---|---|---|
| committer | Nick Hamann <nick@wabbo.org> | 2015-06-10 02:18:14 -0500 |
| commit | c8b088eb38128e8b0e50a550d4b89334574f1216 (patch) | |
| tree | 90d328da78fde2be113b24ab7d31508da59e605d /src/doc/reference.md | |
| parent | 172cd83490cc66065e72861aed53e3efec29b34f (diff) | |
| download | rust-c8b088eb38128e8b0e50a550d4b89334574f1216.tar.gz rust-c8b088eb38128e8b0e50a550d4b89334574f1216.zip | |
Add explanation for E0116 and update the error message.
Also updates the reference on this point.
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 8d57238dc17..2a0f7b659d1 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1550,7 +1550,7 @@ methods in such an implementation can only be used as direct calls on the values of the type that the implementation targets. In such an implementation, the trait type and `for` after `impl` are omitted. Such implementations are limited to nominal types (enums, structs), and the implementation must appear -in the same module or a sub-module as the `self` type: +in the same crate as the `self` type: ``` struct Point {x: i32, y: i32} |
