File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -1224,14 +1224,6 @@ impl circle: shape {
1224
1224
}
1225
1225
~~~~
1226
1226
1227
- This defines an implementation named ` circle_shape ` of trait
1228
- ` shape ` for type ` circle ` . The name of the implementation is the name
1229
- by which it is imported and exported, but has no further significance.
1230
- It may be omitted to default to the name of the trait that was
1231
- implemented. Implementation names do not conflict the way other names
1232
- do: multiple implementations with the same name may exist in a scope at
1233
- the same time.
1234
-
1235
1227
It is possible to define an implementation without referring to a
1236
1228
trait. The methods in such an implementation can only be used
1237
1229
statically (as direct calls on the values of the type that the
You can’t perform that action at this time.
0 commit comments