Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

Commit fffe13b

Browse files
committed
Add as/to/into to naming table
1 parent 05b3bf0 commit fffe13b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

style/naming.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
| Traits | `CamelCase`; prefer transitive verbs, nouns, and then adjectives; avoid suffixes (like `able`) |
1111
| Enum variants | `CamelCase` |
1212
| Functions | `snake_case` |
13+
| Conversions | `as_foo`/`to_foo`/`into_foo` (see below) |
1314
| Methods | `snake_case` |
1415
| General constructors | `new` or `new_with_more_details` |
1516
| Conversion constructors | `from_some_other_type` |

0 commit comments

Comments
 (0)