We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcb6a68 commit fe8c8adCopy full SHA for fe8c8ad
doc/tutorial.md
@@ -2434,7 +2434,7 @@ trait to_str {
2434
2435
## Implementation
2436
2437
-To actually implement an trait for a given type, the `impl` form
+To actually implement a trait for a given type, the `impl` form
2438
is used. This defines implementations of `to_str` for the `int` and
2439
`~str` types.
2440
@@ -2533,7 +2533,7 @@ impl int: eq {
2533
Notice that `equals` takes an `int` argument, rather than a `self` argument, in
2534
an implementation for type `int`.
2535
2536
-## Casting to an trait type
+## Casting to a trait type
2537
2538
The above allows us to define functions that polymorphically act on
2539
values of *an* unknown type that conforms to a given trait.
0 commit comments