summaryrefslogtreecommitdiff
path: root/src/cmd/godoc/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/godoc/main.go')
-rw-r--r--src/cmd/godoc/main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/godoc/main.go b/src/cmd/godoc/main.go
index de051da2b..6c68fcd64 100644
--- a/src/cmd/godoc/main.go
+++ b/src/cmd/godoc/main.go
@@ -183,9 +183,7 @@ func main() {
// 1) set timestamp right away so that the indexer is kicked on
fsTree.set(nil);
// 2) compute initial directory tree in a goroutine so that launch is quick
- go func() {
- fsTree.set(newDirectory(".", maxDirDepth));
- }();
+ go func() { fsTree.set(newDirectory(".", maxDirDepth)) }();
// Start sync goroutine, if enabled.
if *syncCmd != "" && *syncMin > 0 {