From f69c0ac28e32bbfe5ccf3f821d85533b5f646b04 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Thu, 16 Jul 2020 08:37:28 +0930 Subject: [PATCH] mat: clarify that prefix is only added after the first line --- mat/format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mat/format.go b/mat/format.go index c20ca059..c239ddd3 100644 --- a/mat/format.go +++ b/mat/format.go @@ -36,7 +36,7 @@ type formatter struct { type FormatOption func(*formatter) // Prefix sets the formatted prefix to the string p. Prefix is a string that is prepended to -// each line of output. +// each line of output after the first line. func Prefix(p string) FormatOption { return func(f *formatter) { f.prefix = p } }