Remove incorrect quotes around types in examples (#119)

When I tried a spec with quoted types, I got this error:
`A type is required, not string.`

Later in the document, the types don’t have quotes, so I figured that’s what’s expected.
This commit is contained in:
Buck Doyle 2019-07-22 14:49:22 -05:00 committed by Pam Selle
parent 618463aa79
commit 6b2febac15

View File

@ -41,12 +41,12 @@ spec blocks:
```hcl
object {
attr "name" {
type = "string"
type = string
}
block "address" {
object {
attr "street" {
type = "string"
type = string
}
# ...
}
@ -73,11 +73,11 @@ any nested spec blocks:
array {
attr {
name = "first_element"
type = "string"
type = string
}
attr {
name = "second_element"
type = "string"
type = string
}
}
```