From ef81b2a729cfcfc152b765c0be4115ae799ec1f5 Mon Sep 17 00:00:00 2001
From: Eli Bendersky
Date: Mon, 5 Jun 2023 05:48:59 -0700
Subject: [PATCH] Fix typo in a comment
This was suggeste in #477 by @mnm364
Fixes #477
---
examples/slices/slices.go | 2 +-
examples/slices/slices.hash | 4 ++--
public/slices | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/slices/slices.go b/examples/slices/slices.go
index 07343d6..ac97a6b 100644
--- a/examples/slices/slices.go
+++ b/examples/slices/slices.go
@@ -20,7 +20,7 @@ func main() {
// By default a new slice's capacity is equal to its
// length; if we know the slice is going to grow ahead
// of time, it's possible to pass a capacity explicitly
- // as an additional parameter ot `make`.
+ // as an additional parameter to `make`.
s = make([]string, 3)
fmt.Println("emp:", s, "len:", len(s), "cap:", cap(s))
diff --git a/examples/slices/slices.hash b/examples/slices/slices.hash
index 163b77f..eb3c4ce 100644
--- a/examples/slices/slices.hash
+++ b/examples/slices/slices.hash
@@ -1,2 +1,2 @@
-cbb10033e4e5d2f26e4b57895313a907072a75d9
-bqMChdRGpcl
+9f1302a9c3cf79e5144c4818ea09465ff8d6da57
+553_cYPVlPH
diff --git a/public/slices b/public/slices
index 26a256d..cee1ef5 100644
--- a/public/slices
+++ b/public/slices
@@ -42,7 +42,7 @@ a more powerful interface to sequences than arrays.
- 
+ 
package main
|
@@ -95,7 +95,7 @@ the builtin make
. Here we make a slice of
By default a new slice’s capacity is equal to its
length; if we know the slice is going to grow ahead
of time, it’s possible to pass a capacity explicitly
-as an additional parameter ot make
.
+as an additional parameter to make
.
|