mirror of
https://github.com/gonum/gonum.git
synced 2025-12-24 13:47:56 +08:00
mat: clarify that prefix is only added after the first line
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user