Software /
code /
prosody
Changeset
9899:8c831c76fc94
doc/coding_style: Trim trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2019 03:56:55 +0100 |
parents | 9898:34a670e2bcfd |
children | 9900:f2104b36f673 |
files | doc/coding_style.md |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/coding_style.md Sat Mar 23 02:27:45 2019 +0000 +++ b/doc/coding_style.md Sat Mar 23 03:56:55 2019 +0100 @@ -330,7 +330,7 @@ ## Variable declaration -* Always use `local` to declare variables. +* Always use `local` to declare variables. ```lua -- bad @@ -446,8 +446,8 @@ -- 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 @@ ## Spacing -* Use a space after `--`. +* Use a space after `--`. ```lua --bad