aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contributing.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-27 16:45:52 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-27 16:45:52 -0600
commit047dab8e76639ef2682c78b899ee9ba1f7ba28f8 (patch)
tree6723165f796a1ac64a31769697fba55e352f070b /docs/contributing.rst
parent64db0292ac574cb1c965585439b3155199ada414 (diff)
downloadcryptography-047dab8e76639ef2682c78b899ee9ba1f7ba28f8.tar.gz
cryptography-047dab8e76639ef2682c78b899ee9ba1f7ba28f8.tar.bz2
cryptography-047dab8e76639ef2682c78b899ee9ba1f7ba28f8.zip
update style guide docs to reflect change to (void)
Diffstat (limited to 'docs/contributing.rst')
-rw-r--r--docs/contributing.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst
index 620e1b6a..139f7f3b 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -110,14 +110,14 @@ Don't name parameters:
...;
};
-Don't include stray ``void`` parameters:
+Include ``void`` if the function takes no arguments:
.. code-block:: c
// Good
- long f();
- // Bad
long f(void);
+ // Bad
+ long f();
Wrap lines at 80 characters like so: