diff options
author | Kim Alvefur <zash@zash.se> | 2019-03-23 03:56:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-03-23 03:56:55 +0100 |
commit | 7aab0c40a49c5f6a2008646f636b19290d2abfe4 (patch) | |
tree | b47ba28a8caec557758fc4621ecf2b555dd3118f | |
parent | 24581c47db0db9739d89339034c4d4e58bcdf8a7 (diff) | |
download | prosody-7aab0c40a49c5f6a2008646f636b19290d2abfe4.tar.gz prosody-7aab0c40a49c5f6a2008646f636b19290d2abfe4.zip |
doc/coding_style: Trim trailing whitespace
-rw-r--r-- | doc/coding_style.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/coding_style.md b/doc/coding_style.md index af1a2502..17b7c037 100644 --- a/doc/coding_style.md +++ b/doc/coding_style.md @@ -330,7 +330,7 @@ than if it says `check_version = function()` under some indentation level. ## Variable declaration -* Always use `local` to declare variables. +* Always use `local` to declare variables. ```lua -- bad @@ -446,8 +446,8 @@ if test < 1 and do_complicated_function(test) == false or seven == 8 and nine == -- good if test < 1 and do_complicated_function(test) == false or seven == 8 and nine == 10 then - do_other_complicated_function() - return false + do_other_complicated_function() + return false end ``` @@ -466,7 +466,7 @@ b = 2 ## Spacing -* Use a space after `--`. +* Use a space after `--`. ```lua --bad |