From b422d987024cec7b6b2a61b76ec4d26ccedb66b9 Mon Sep 17 00:00:00 2001 From: dudaodong Date: Fri, 13 Jan 2023 10:48:21 +0800 Subject: [PATCH] doc: format document --- docs/concurrency.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concurrency.md b/docs/concurrency.md index bac75db..fbaa75a 100644 --- a/docs/concurrency.md +++ b/docs/concurrency.md @@ -82,8 +82,8 @@ import ( ) func main() { - ctx, cancel := context.WithCancel(context.Background()) - defer cancel() + ctx, cancel := context.WithCancel(context.Background()) + defer cancel() c := concurrency.NewChannel[int]() genVals := func() <-chan <-chan int {