diff --git "a/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day07_Slice\347\232\204\344\275\277\347\224\250.md" "b/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day07_Slice\347\232\204\344\275\277\347\224\250.md" index 3c5c6db..7d42fa3 100644 --- "a/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day07_Slice\347\232\204\344\275\277\347\224\250.md" +++ "b/Day01-15(Go\350\257\255\350\250\200\345\237\272\347\241\200)/day07_Slice\347\232\204\344\275\277\347\224\250.md" @@ -312,7 +312,7 @@ func printSlice(x []int){ len=0 cap=0 slice=[] len=1 cap=2 slice=[0] len=2 cap=2 slice=[0 1] -len=5 cap=8 slice=[0 1 2 3 4] +len=5 cap=6 slice=[0 1 2 3 4] len=5 cap=12 slice=[0 1 2 3 4] ``` @@ -334,4 +334,4 @@ https://www.bilibili.com/video/av47467197 源代码: -https://github.com/rubyhan1314/go_foundation \ No newline at end of file +https://github.com/rubyhan1314/go_foundation