Added brief discussion of static trait methods.

Closes #3339
This commit is contained in:
Jesse Jones 2012-11-18 15:49:53 -08:00
parent 57c203ef7f
commit a1bf759783

View File

@ -1175,6 +1175,9 @@ Values with a trait type can have [methods called](#method-call-expressions) on
for any method in the trait,
and can be used to instantiate type parameters that are bounded by the trait.
Trait methods may be static. Currently implementations of static methods behave like
functions declared in the implentation's module.
### Implementations
An _implementation_ is an item that implements a [trait](#traits) for a specific type.