From c42273d2a052545b34f1d10d6a78696c2e641b7b Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 23 Apr 2017 21:46:30 +0200 Subject: [PATCH] :memo: fixed documentation #565 The documentation mismatched the actual code. --- README.md | 1 + doc/index.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 265ec06f1..fc6dde9bc 100644 --- a/README.md +++ b/README.md @@ -835,6 +835,7 @@ I deeply appreciate the help of the following people. - [Krzysztof Woś](https://github.com/krzysztofwos) made exceptions more visible. - [ftillier](https://github.com/ftillier) fixed a compiler warning. - [tinloaf](https://github.com/tinloaf) made sure all pushed warnings are properly popped. +- [Fytch](https://github.com/Fytch) found a bug in the documentation. Thanks a lot for helping out! Please [let me know](mailto:mail@nlohmann.me) if I forgot someone. diff --git a/doc/index.md b/doc/index.md index 9493412e8..5392f4d3c 100644 --- a/doc/index.md +++ b/doc/index.md @@ -254,21 +254,21 @@ The container functions known from STL have been extended to support the differe lookup `find` - @link nlohmann::basic_json::find `find` @endlink (returns `end()`) @link nlohmann::basic_json::find `find` @endlink @link nlohmann::basic_json::find `find` @endlink (returns `end()`) @link nlohmann::basic_json::find `find` @endlink (returns `end()`) @link nlohmann::basic_json::find `find` @endlink (returns `end()`) @link nlohmann::basic_json::find `find` @endlink (returns `end()`) + @link nlohmann::basic_json::find `find` @endlink (returns `end()`) `count` - @link nlohmann::basic_json::count `count` @endlink (returns `0`) @link nlohmann::basic_json::count `count` @endlink @link nlohmann::basic_json::count `count` @endlink (returns `0`) @link nlohmann::basic_json::count `count` @endlink (returns `0`) @link nlohmann::basic_json::count `count` @endlink (returns `0`) @link nlohmann::basic_json::count `count` @endlink (returns `0`) + @link nlohmann::basic_json::count `count` @endlink (returns `0`) -- GitLab