Skip to content

Commit

Permalink
cleanup: remove unneeded rune counter
Browse files Browse the repository at this point in the history
  • Loading branch information
ionous committed Dec 1, 2023
1 parent a7048e9 commit b09c106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
6 changes: 3 additions & 3 deletions notes/noteStack.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ type stack []pendingBlock

// an in-progress comment block
type pendingBlock struct {
Lines // rune counting writer
terms int // count empty terms
RuneWriter // comment block writer
terms int // count empty terms
}

func makeBlock(w RuneWriter) pendingBlock {
return pendingBlock{Lines: Lines{w: w}}
return pendingBlock{w, 0}
}

// write passed runes, and then the buffer, to out
Expand Down
25 changes: 0 additions & 25 deletions notes/notesLines.go

This file was deleted.

0 comments on commit b09c106

Please sign in to comment.