Przeglądaj źródła

CONTRIBUTING: Fix some examples, escape underscores

archshift 12 lat temu
rodzic
commit
0a48e97c36
1 zmienionych plików z 9 dodań i 9 usunięć
  1. 9 9
      CONTRIBUTING.md

+ 9 - 9
CONTRIBUTING.md

@@ -11,18 +11,18 @@ Citra is a brand new project, so we have a great opportunity to keep things clea
 
 ### Naming Rules
 * Functions
- * CamelCase, "_" may also be used for clarity (e.g. ARM_InitCore)
+ * CamelCase, `_` may also be used for clarity (e.g. `ARM_InitCore`)
 * Variables
- * lower_case_underscored
- * Prefix "g_" if global
- * Prefix "_" if internal
- * Prefix "__" if ultra internal
+ * lower\_case\_underscored
+ * Prefix `g_` if global
+ * Prefix `_` if internal
+ * Prefix `__` if ultra internal
 * Classes
- * CamelCase, "_" may also be used for clarity (e.g. OGL_VideoInterface)
+ * CamelCase, `_` may also be used for clarity (e.g. `OGL_VideoInterface`)
 * Files/Folders
- * lower_case_underscored
+ * lower\_case\_underscored
 * Namespaces
- * CamelCase, "_" may also be used for clarity (e.g. ARM_InitCore)
+ * CamelCase, `_` may also be used for clarity (e.g. `ARM_InitCore`)
 
 ### Indentation/Whitespace Style
 Follow the indentation/whitespace style shown below. Do not use tabs, use 4-spaces instead.
@@ -96,7 +96,7 @@ void FooBar() {
         break;
     }
  
-    std::vector
+    std::string
         you_can_declare,
         a_few,
         variables,