move impls next to traits

kud1ing
2013-05-21 23:18:47 -07:00
parent ea17226a2e
commit a4bac9836e
+4 -4
@@ -186,6 +186,10 @@ Examples:
* ```Iterate```
# Impls
* Avoid `pub impl Type { ... }`. Instead put `pub ` modifiers on the method names. This allows a reader to immediately tell which methods are public at a glance.
# Predicates
The names of simple boolean predicates should start with "is_" or similarly be expressed using a "small question word".
@@ -200,10 +204,6 @@ Examples:
A ```for``` loop is always preferable to a ```while``` loop unless the loop counts in a non-uniform way (making it difficult to express as a ```for```).
# Impls
* Avoid `pub impl Type { ... }`. Instead put `pub ` modifiers on the method names. This allows a reader to immediately tell which methods are public at a glance.
# Questions and TODO
* Do we want to prefer 'top-down' organization?