From 61409c3516b18868da16dbc3c862022dd2f7af9b Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 22 Jul 2022 17:50:07 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Florian Albrechtskirchinger --- docs/mkdocs/docs/features/assertions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mkdocs/docs/features/assertions.md b/docs/mkdocs/docs/features/assertions.md index 6132062562..2bad62e81d 100644 --- a/docs/mkdocs/docs/features/assertions.md +++ b/docs/mkdocs/docs/features/assertions.md @@ -106,7 +106,7 @@ behavior and yields a runtime assertion. ### Reading from a null `FILE` pointer Reading from a null `#!cpp FILE` pointer is undefined behavior and yields a runtime assertion. This can happen when -calling `#!cpp std::fopen` on a nonexisting file. +calling `#!cpp std::fopen` on a nonexistent file. ??? example "Example 4: Uninitialized iterator" @@ -119,7 +119,7 @@ calling `#!cpp std::fopen` on a nonexisting file. int main() { - std::FILE* f = std::fopen("nonexisting_file.json", "r"); + std::FILE* f = std::fopen("nonexistent_file.json", "r"); json j = json::parse(f); } ```