summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-23 10:17:44 -0400
committerdemo <demo@antix1>2026-05-23 10:17:44 -0400
commit212227b6719bed8b5e78db42a7da40b0491181e5 (patch)
tree85962b615230a0b3c9399baee5c92e00254e6d25
parentadc0d454660c04e0677bfd20af064986b1c1e40b (diff)
refactor: remove intermediate variable
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index f0f95f8..db53d69 100644
--- a/main.go
+++ b/main.go
@@ -40,8 +40,7 @@ func main() {
seen[u] = true
go func() {
- more := crawl(u)
- worklist <- more
+ worklist <- crawl(u)
}()
}
}