diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-09-26 10:56:23 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-09-26 16:30:41 -0700 |
| commit | e4148932fcab17f6f8bb362df34d7b83e4c57580 (patch) | |
| tree | 0ac972c975e91a6a7ff6feb188df754ce951fe75 | |
| parent | bf82d689ce46875964be07abdf38f5268727c2aa (diff) | |
Remove para on named impls.
| -rw-r--r-- | doc/rust.md | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/rust.md b/doc/rust.md index 15a80c63fad..ccc5a532cdd 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1224,14 +1224,6 @@ impl circle: shape { } ~~~~ -This defines an implementation named `circle_shape` of trait -`shape` for type `circle`. The name of the implementation is the name -by which it is imported and exported, but has no further significance. -It may be omitted to default to the name of the trait that was -implemented. Implementation names do not conflict the way other names -do: multiple implementations with the same name may exist in a scope at -the same time. - It is possible to define an implementation without referring to a trait. The methods in such an implementation can only be used statically (as direct calls on the values of the type that the |
