Browse Source

modified: eBook/18.1.md

leo 2 years ago
parent
commit
48f3d2a9e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      eBook/18.1.md

+ 1 - 1
eBook/18.1.md

@@ -4,7 +4,7 @@
4 4
 
5 5
 ```go
6 6
 str:="hello"
7
-c:=[]byte(s)
7
+c:=[]byte(str)
8 8
 c[0]='c'
9 9
 s2:= string(c) // s2 == "cello"
10 10
 ```