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 | fc06f69a4f3b22c97cdca1114cca191aa5e259ea (patch) | |
tree | b47ba28a8caec557758fc4621ecf2b555dd3118f /doc | |
parent | 6d02c463f7436544bfce141a7f36bfda417d497f (diff) | |
download | prosody-fc06f69a4f3b22c97cdca1114cca191aa5e259ea.tar.gz prosody-fc06f69a4f3b22c97cdca1114cca191aa5e259ea.zip |
doc/coding_style: Trim trailing whitespace
Diffstat (limited to 'doc')
-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 |