diff --git a/doc/rust.md b/doc/rust.md index f6c4e776973..9574fe3be43 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -2620,7 +2620,7 @@ fn map(f: fn(A) -> B, xs: ~[A]) -> ~[B] { Here, `first` has type `B`, referring to `map`'s `B` type parameter; and `rest` has type `~[B]`, a vector type with element type `B`. -### Self type +### Self types The special type `self` has a meaning within methods inside an impl item. It refers to the type of the implicit `self` argument. For