fix: some typos in slices adv. ops.

This commit is contained in:
Inanc Gumus
2019-03-05 23:49:54 +03:00
parent 9c96082326
commit ed17b12acd
7 changed files with 36 additions and 30 deletions

View File

@ -5,6 +5,7 @@ var temps = []int{5, 10, 3, 25, 45, 80, 90}
// Read returns a range of temperature readings beginning from
// the `start` until to the `stop`.
func Read(start, stop int) []int {
//
// Uses a full slice expression to control the length of the
// backing array (or the capacity of the returned slice).
//