cue/load: drop out-of-date comment about type of value in Overlay map
Change-Id: I71dded74e34a9c7cb839c3b1e8f47b80aa2c9bd9
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9021
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/cue/load/config.go b/cue/load/config.go
index 535b6b6..847e447 100644
--- a/cue/load/config.go
+++ b/cue/load/config.go
@@ -259,11 +259,9 @@
// the syntax tree.
ParseFile func(name string, src interface{}) (*ast.File, error)
- // Overlay provides a mapping of absolute file paths to file contents.
- // If the file with the given path already exists, the parser will use the
+ // Overlay provides a mapping of absolute file paths to file contents. If
+ // the file with the given path already exists, the parser will use the
// alternative file contents provided by the map.
- //
- // If the value must be of type string, []byte, io.Reader, or *ast.File.
Overlay map[string]Source
// Stdin defines an alternative for os.Stdin for the file "-". When used,