this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cue: fix small typo in function documentation

A small typo is fixed that makes the function doc for value.IsClosed
clearer (list of struct -> list or struct).

Signed-off-by: Noam Dolovich <noam.tzvi.dolovich@gmail.com>
Change-Id: I0252f02dcf9634e99ebb587b8bd434ca408afbe1
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1193361
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>

authored by

Noam Dolovich and committed by
Daniel Martí
731b2af4 d1068c48

+1 -1
+1 -1
cue/types.go
··· 1144 1144 1145 1145 // TODO: IsFinal: this value can never be changed. 1146 1146 1147 - // IsClosed reports whether a list of struct is closed. It reports false when 1147 + // IsClosed reports whether a list or struct is closed. It reports false when 1148 1148 // the value is not a list or struct. 1149 1149 // 1150 1150 // Deprecated: use Allows(AnyString) and Allows(AnyIndex) or Kind/IncompleteKind.