diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2017-01-14 11:37:01 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2017-01-14 11:37:01 +0000 |
commit | 1d6becb4233d21085e2250207763ee3a930692af (patch) | |
tree | d756657c70008c6d95ba4dac7932a2dce18033e8 /docs/YamlIO.rst | |
parent | d4a4367ac01ada009564f9c208390f09ebfc3f63 (diff) |
fix some typos in the doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/YamlIO.rst')
-rw-r--r-- | docs/YamlIO.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/YamlIO.rst b/docs/YamlIO.rst index 04e63fac6a4..0b728ed8ec1 100644 --- a/docs/YamlIO.rst +++ b/docs/YamlIO.rst @@ -731,7 +731,7 @@ it is parsed. This allows dynamic types of nodes. But the YAML I/O model uses static typing, so there are limits to how you can use tags with the YAML I/O model. Recently, we added support to YAML I/O for checking/setting the optional tag on a map. Using this functionality it is even possbile to support different -mappings, as long as they are convertable. +mappings, as long as they are convertible. To check a tag, inside your mapping() method you can use io.mapTag() to specify what the tag should be. This will also add that tag when writing yaml. |