Remove para on named impls.
This commit is contained in:
parent
bf82d689ce
commit
e4148932fc
1 changed files with 0 additions and 8 deletions
|
@ -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
|
It is possible to define an implementation without referring to a
|
||||||
trait. The methods in such an implementation can only be used
|
trait. The methods in such an implementation can only be used
|
||||||
statically (as direct calls on the values of the type that the
|
statically (as direct calls on the values of the type that the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue