Updated Note style guide (markdown)

Brian Anderson
2013-07-31 12:16:05 -07:00
parent d0a886df0c
commit 24287f9215
+2
@@ -10,9 +10,11 @@ Here are some rough guidelines to Rust style. They are followed unevenly and the
## General
* Type names and enumeration variants should be in `CamelCase`.
* Acrynoms too should be camel case: `Uuid`, not `UUID`.
* Functions, methods, and variables should be `lowercase_with_underscores` where it helps readability.
* Static variables should be in `ALL_CAPS`.
* Constructors are methods called `new` or `new_with_more_details`.
* Constructors that simply convert from another type are methods called `from_foo`.
* When writing a binding to an external library, put the raw C bindings in a module called `ffi` (rather than `ll`). Do not create high-level bindings called `hl`.
## Trait naming