From d40a490d485a647172eb8e615f293b525de68b7d Mon Sep 17 00:00:00 2001 From: Michael Witten Date: Sun, 28 Sep 2025 22:04:51 -0500 Subject: [PATCH] [NR.6] trivial: s/goto_exit/goto exit/ (#2287) The example intended: goto exit; However, it was mistakenly written as: goto_exit; --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 725d1c7..d8fb955 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -20889,7 +20889,7 @@ This technique is a pre-exception technique for RAII-like resource and error han // ... int* p = (int*) malloc(n); // ... - if (some_error) goto_exit; + if (some_error) goto exit; // ... exit: free(p);