Recommend avoiding named returns. (#3027)

This commit is contained in:
Jacob Hoffman-Andrews 2017-08-31 09:22:50 -07:00 committed by Daniel McCarney
parent ba95793628
commit 2549c3c80e
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ Thanks for helping us build Boulder! This page contains requirements and guideli
# Patch Guidelines
* Please include helpful comments. No need to gratuitously comment clear code, but make sure it's clear why things are being done.
* Include information in your pull request about what you're trying to accomplish with your patch.
* Avoid named return values. See [#3017](https://github.com/letsencrypt/boulder/pull/3017) for an example of a subtle problem they can cause.
* Do not include `XXX`s or naked `TODO`s. Use the formats:
```
// TODO(<email-address>): Hoverboard + Time-machine unsupported until upstream patch.