pub impl Type { ... } triggers a compile-time error at this moment. Also, it has no effect on the visibility of the functions.

Adolfo Ochagavía
2014-05-18 07:13:26 -07:00
parent c78fb9236d
commit 968103fc06
-4
@@ -214,10 +214,6 @@ Examples:
* ```Iterate```
# Impls
* Avoid `pub impl Type { ... }`. Instead put `pub ` modifiers on method names. This allows a reader to immediately tell which methods are public quickly.
# Predicates
The names of simple boolean predicates should start with "is_" or similarly be expressed using a "small question word".