From f6920aaaf866d0e331b12fad4ee530079113b97f Mon Sep 17 00:00:00 2001 From: Andrew Field Date: Wed, 26 May 2021 20:08:09 +0300 Subject: [PATCH] I think there should be a colon ' : ' --- SliceTricks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SliceTricks.md b/SliceTricks.md index b3e89e04..05130ee5 100644 --- a/SliceTricks.md +++ b/SliceTricks.md @@ -9,7 +9,7 @@ a = append(a, b...) #### Copy ```go -b = make([]T, len(a)) +b := make([]T, len(a)) copy(b, a) // These two are often a little slower than the above one,