summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-12-17 18:16:59 +0800
committerGitHub <noreply@github.com>2021-12-17 10:16:59 +0000
commit3d9b6cfebce898dede2f63d0288050a106a7f5e4 (patch)
tree00444261a72114d39ab0daa4b0a9b801075e77ff /lib/pure
parent5ddaf3e1fbff4c0519088612f9ec3b10d62d2316 (diff)
downloadNim-3d9b6cfebce898dede2f63d0288050a106a7f5e4.tar.gz
[formatter] async.nim uses two spaces (#19264)
according to https://nim-lang.org/docs/nep1.html#introduction-spacing-and-whitespace-conventions, two spaces should be preferred in stdlib.
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/async.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pure/async.nim b/lib/pure/async.nim
index 97b29f81d..482ab32c6 100644
--- a/lib/pure/async.nim
+++ b/lib/pure/async.nim
@@ -1,6 +1,6 @@
 when defined(js):
-    import asyncjs
-    export asyncjs
+  import asyncjs
+  export asyncjs
 else:
-    import asyncmacro, asyncfutures
-    export asyncmacro, asyncfutures
+  import asyncmacro, asyncfutures
+  export asyncmacro, asyncfutures