commit | 081251ebf9ad924e05b1987195474e74d06fd86c | [log] [tgz] |
---|---|---|
author | Roger Peppe <rogpeppe@gmail.com> | Tue Oct 15 12:08:26 2019 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Sat Oct 19 12:47:35 2019 +0000 |
tree | 30afcefd959e1a063045c5cf4fc911f496290fa2 | |
parent | 6deb0df69ffb4d91d77964e636f1e448654e9708 [diff] |
cue: document that zero value of Runtime is OK to use. Change-Id: Icf395089f3ef846ce6b7b831460849f01c6f229f Reviewed-on: https://cue-review.googlesource.com/c/cue/+/3740 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/cue/build.go b/cue/build.go index 3a8712b..5116825 100644 --- a/cue/build.go +++ b/cue/build.go
@@ -30,6 +30,8 @@ // // Any operation that involves two Values or Instances should originate from // the same Runtime. +// +// The zero value of a Runtime is ready to use. type Runtime struct { ctx *build.Context // TODO: remove idx *index