Fixing typo

This commit is contained in:
Daniel Lemire 2020-03-13 14:51:34 -04:00
parent 12e6611ba4
commit 24551db0c8
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ The simplest API to get started is `document::parse()`, which allocates a new pa
```c++
auto [doc, error] = document::parse(string("[ 1, 2, 3 ]"));
if (error) { cerr << "Error: " << error_meesage(error) << endl; exit(1); }
if (error) { cerr << "Error: " << error_message(error) << endl; exit(1); }
doc.print_json(cout);
```