1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-05 14:27:51 +02:00

[yaml/en] Fix an example in YAML (#4562)

This commit is contained in:
Eli Orzitzer
2024-05-13 22:32:33 +03:00
committed by GitHub
parent 950adf2cc3
commit d935b164e4

View File

@@ -177,7 +177,7 @@ bar:
<<: *base # base anchor will be merged <<: *base # base anchor will be merged
age: 20 age: 20
# foo and bar would also have name: Everyone has same name # foo name won't be changed and it will be: John. On the other hand, bar's name will be changed to the base one: Everyone has same name
# YAML also has tags, which you can use to explicitly declare types. # YAML also has tags, which you can use to explicitly declare types.
# Syntax: !![typeName] [value] # Syntax: !![typeName] [value]