Skip to content

Commit

Permalink
Added brief discussion of static trait methods.
Browse files Browse the repository at this point in the history
Closes #3339
  • Loading branch information
jesse99 committed Nov 18, 2012
1 parent 57c203e commit a1bf759
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a1bf759

Please sign in to comment.