Fix various godoc comments

This commit is contained in:
Christian Rocha
2022-01-18 17:15:38 -05:00
parent 505a16d057
commit 091c915462
4 changed files with 17 additions and 4 deletions

View File

@@ -165,7 +165,12 @@ func (m Model) FullHelpView(groups [][]key.Binding) string {
}
var (
out []string
// Linter note: at this time we don't think it's worth the additional
// code complexity involved in preallocating this slice.
//
//nolint:prealloc
out []string
totalWidth int
sep = m.Styles.FullSeparator.Render(m.FullSeparator)
sepWidth = lipgloss.Width(sep)