summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/docs/YamlIO.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/YamlIO.rst b/llvm/docs/YamlIO.rst
index 4c07820b6f9..ac4f8d18322 100644
--- a/llvm/docs/YamlIO.rst
+++ b/llvm/docs/YamlIO.rst
@@ -1020,7 +1020,7 @@ object. For example:
// Reading multiple documents in one file
using llvm::yaml::Input;
- LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(std::vector<MyDocType>)
+ LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(MyDocType)
Input yin(mb.getBuffer());
OpenPOWER on IntegriCloud