Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
doc: fix typo in types tutorial (closed -> close)
Browse files Browse the repository at this point in the history
Fixes github.com/cuelang/cuelang.org/issues/118

Change-Id: Ib0391938f5182775704b90b4a02393d5f28bd0f8
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8066
Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
  • Loading branch information
myitcv committed Jan 29, 2021
1 parent 9b7fc4b commit 6c3be7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial/basics/2_types/50_closed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ it defines to be allowed.
In other words, closing a struct is equivalent to requiring that all
other values be undefined.

A closed struct can be created using the `closed` builtin,
A closed struct can be created using the `close` builtin,
but are more commonly defined using a _definition_, defined next.

-- structs.cue --
Expand Down

0 comments on commit 6c3be7f

Please sign in to comment.