diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-09-03 21:01:15 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-09-04 17:30:30 +0800 |
commit | a102f3b783dec236e9a733f5a5338efce3ef8319 (patch) | |
tree | b4e6793dce0005920b5ba1ce46d538883057be8d /CODING_STYLE.md | |
parent | 2783905babfbe2fd01ff5f7b2a2499bd13754f10 (diff) | |
download | dexon-solidity-a102f3b783dec236e9a733f5a5338efce3ef8319.tar.gz dexon-solidity-a102f3b783dec236e9a733f5a5338efce3ef8319.tar.zst dexon-solidity-a102f3b783dec236e9a733f5a5338efce3ef8319.zip |
Remove trailing whitespace for all files in the repository.
Diffstat (limited to 'CODING_STYLE.md')
-rw-r--r-- | CODING_STYLE.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CODING_STYLE.md b/CODING_STYLE.md index f36503d0..8101db0c 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -193,7 +193,7 @@ for (map<ComplexTypeOne, ComplexTypeTwo>::iterator i = l.begin(); i != l.end(); 2. Generally avoid shortening a standard form that already includes all important information: - e.g. stick to `shared_ptr<X>` rather than shortening to `ptr<X>`. 3. Where there are exceptions to this (due to excessive use and clear meaning), note the change prominently and use it consistently: - - e.g. `using Guard = std::lock_guard<std::mutex>;` ///< Guard is used throughout the codebase since it is clear in meaning and used commonly. + - e.g. `using Guard = std::lock_guard<std::mutex>;` ///< Guard is used throughout the codebase since it is clear in meaning and used commonly. 4. In general expressions should be roughly as important/semantically meaningful as the space they occupy. 5. Avoid introducing aliases for types unless they are very complicated. Consider the number of items a brain can keep track of at the same time. |