Skip to content

Commit c2fd04f

Browse files
committed
manual: s/Self type/Self types/.
1 parent a8e1d83 commit c2fd04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,7 @@ fn map<A: Copy, B: Copy>(f: fn(A) -> B, xs: ~[A]) -> ~[B] {
26202620
Here, `first` has type `B`, referring to `map`'s `B` type parameter; and `rest` has
26212621
type `~[B]`, a vector type with element type `B`.
26222622

2623-
### Self type
2623+
### Self types
26242624

26252625
The special type `self` has a meaning within methods inside an
26262626
impl item. It refers to the type of the implicit `self` argument. For

0 commit comments

Comments
 (0)