Skip to content

Commit

Permalink
chore: remove binary
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-bobo committed May 28, 2024
1 parent d5a42e5 commit d06d778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
func countLines(bytes []byte) int {
var lineCount int

for _, byteDecimal := range bytes {
for _, byte := range bytes {
// The decimal representation of a UTF-8 newline is 10.
if byteDecimal == 10 {
if byte == 10 {
lineCount++
}
}
Expand Down
Binary file removed wc-go
Binary file not shown.

0 comments on commit d06d778

Please sign in to comment.