From b464b714a4560575f7fbbac6d1e3f9f3bce50441 Mon Sep 17 00:00:00 2001 From: WenMing Date: Tue, 13 Aug 2019 22:01:14 +0800 Subject: [PATCH] Update CODE_STYLE.md (#403) --- CODE_STYLE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index bc0cde43..2bf9af15 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -1,4 +1,4 @@ -# Code Style of OpenResty +# OpenResty Lua Coding Style Guide ## indentation Use 4 spaces as an indent in OpenResty, although Lua does not have such a grammar requirement. @@ -203,7 +203,7 @@ local t = {1, 2, nil, 3} If you must use null values, use `ngx.null` to indicate: ``` ---No +--Yes local t = {1, 2, ngx.null, 3} ```