Skip to content

Commit 0478218

Browse files
authored
Go Report Card - helper/divide.go - Line 17: warning: "divison" is a misspelling of "division" (misspell) (#145)
# Describe Request Go Report Card - helper/divide.go - Line 17: warning: "divison" is a misspelling of "division" (misspell) Fixed #142 # Change Type Bug fix.
1 parent 732a3a6 commit 0478218

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helper/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ Example:
359359
ac := helper.SliceToChan([]int{2, 4, 6, 8, 10})
360360
bc := helper.SliceToChan([]int{2, 1, 3, 2, 5})
361361
362-
divison := helper.Divide(ac, bc)
362+
division := helper.Divide(ac, bc)
363363
364364
fmt.Println(helper.ChanToSlice(division)) // [1, 4, 2, 4, 2]
365365
```

helper/divide.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package helper
1414
// ac := helper.SliceToChan([]int{2, 4, 6, 8, 10})
1515
// bc := helper.SliceToChan([]int{2, 1, 3, 2, 5})
1616
//
17-
// divison := helper.Divide(ac, bc)
17+
// division := helper.Divide(ac, bc)
1818
//
1919
// fmt.Println(helper.ChanToSlice(division)) // [1, 4, 2, 4, 2]
2020
func Divide[T Number](ac, bc <-chan T) <-chan T {

0 commit comments

Comments
 (0)