# HG changeset patch # User Kim Alvefur # Date 1553309815 -3600 # Node ID 8c831c76fc943836c9fcd53b5e74ef222e13bc68 # Parent 34a670e2bcfdf31585958c4ba34b94b5bbe93cd4 doc/coding_style: Trim trailing whitespace diff -r 34a670e2bcfd -r 8c831c76fc94 doc/coding_style.md --- 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