Update utils/structs/map.go

Co-authored-by: Boris Flesch <13056415+borisflesch@users.noreply.github.com>
This commit is contained in:
Jean-Philippe Bossuat
2023-10-30 15:05:54 +01:00
committed by GitHub
parent 494ff5f47d
commit 5bc8a934cc

View File

@@ -82,7 +82,7 @@ func (m *Map[K, T]) WriteTo(w io.Writer) (n int64, err error) {
// ReadFrom reads on the object from an io.Writer. It implements the
// io.ReaderFrom interface.
//
// Unless r implements the buffer.Reader interface (see see lattigo/utils/buffer/reader.go),
// Unless r implements the buffer.Reader interface (see lattigo/utils/buffer/reader.go),
// it will be wrapped into a bufio.Reader. Since this requires allocation, it
// is preferable to pass a buffer.Reader directly:
//