diff options
author | Laurens Van Houtven <_@lvh.cc> | 2014-06-23 13:50:35 +0200 |
---|---|---|
committer | Laurens Van Houtven <_@lvh.cc> | 2014-06-23 13:50:35 +0200 |
commit | ed3d15bc669c8ea2c2acbdec6a1da980e8006a92 (patch) | |
tree | a031659bda7a1afca34b3432be9973308d2053ed | |
parent | 7d2c74e4d36de4b70e72f2f8d6a7a60e86f80e60 (diff) | |
download | cryptography-ed3d15bc669c8ea2c2acbdec6a1da980e8006a92.tar.gz cryptography-ed3d15bc669c8ea2c2acbdec6a1da980e8006a92.tar.bz2 cryptography-ed3d15bc669c8ea2c2acbdec6a1da980e8006a92.zip |
Use C-style comments instead of C++-style comments
-rw-r--r-- | docs/development/submitting-patches.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/development/submitting-patches.rst b/docs/development/submitting-patches.rst index b7f43283..3eea1dd3 100644 --- a/docs/development/submitting-patches.rst +++ b/docs/development/submitting-patches.rst @@ -82,9 +82,9 @@ Don't name parameters: .. code-block:: c - // Good + /* Good */ long f(long); - // Bad + /* Bad */ long f(long x); ...unless they're inside a struct: @@ -101,16 +101,16 @@ Include ``void`` if the function takes no arguments: .. code-block:: c - // Good + /* Good */ long f(void); - // Bad + /* Bad */ long f(); Wrap lines at 80 characters like so: .. code-block:: c - // Pretend this went to 80 characters + /* Pretend this went to 80 characters */ long f(long, long, int *) @@ -118,9 +118,9 @@ Include a space after commas between parameters: .. code-block:: c - // Good + /* Good */ long f(int, char *) - // Bad + /* Bad */ long f(int,char *) Values set by ``#define`` should be assigned the appropriate type. If you see |