Skip to content

Commit 9685193

Browse files
authored
format: remove unused function
1 parent bef63db commit 9685193

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

format/format.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,6 @@ func (f *fumpter) printLength(node ast.Node) int {
281281
return int(count) + (f.blockLevel * 8)
282282
}
283283

284-
func (f *fumpter) tabbedColumn(p token.Pos) int {
285-
col := f.Position(p).Column
286-
287-
// Like in printLength, add an approximation of the indentation level.
288-
// Since any existing tabs were already counted as one column, multiply
289-
// the level by 7.
290-
return col + (f.blockLevel * 7)
291-
}
292-
293284
func (f *fumpter) lineEnd(line int) token.Pos {
294285
if line < 1 {
295286
panic("illegal line number")

0 commit comments

Comments
 (0)