From c24a2819337fc4ec57c227b8fefbd1f865205dc5 Mon Sep 17 00:00:00 2001 From: Paul Jolly Date: Sat, 13 Mar 2021 05:15:07 +0000 Subject: [PATCH] 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 --- cue/load/config.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cue/load/config.go b/cue/load/config.go index 535b6b64c..847e447ba 100644 --- a/cue/load/config.go +++ b/cue/load/config.go @@ -259,11 +259,9 @@ type Config struct { // 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,