about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 5c39869..f272f3b 100644
--- a/README.md
+++ b/README.md
@@ -131,14 +131,14 @@ And if all else fails, you can always use an [IIFE](https://developer.mozilla.or
 
 ```go
 func list(ordered bool) Node {
-  return func() Node {
-    // Do whatever you need to do, imperatively
-    if ordered {
-      return Ol()
-    } else {
-     	return Ul()
-    }
-  }()
+	return func() Node {
+		// Do whatever you need to do, imperatively
+		if ordered {
+			return Ol()
+		} else {
+			return Ul()
+		}
+	}()
 }
 ```