mirror of
https://github.com/tuneinsight/lattigo.git
synced 2025-09-13 03:27:14 +00:00
Update utils/structs/map.go
Co-authored-by: Boris Flesch <13056415+borisflesch@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
494ff5f47d
commit
5bc8a934cc
@@ -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:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user