From f3d1b3446206db9850d769620c9bf912df018cf1 Mon Sep 17 00:00:00 2001 From: Kimi MA Date: Sun, 30 Apr 2023 10:20:04 +0800 Subject: [PATCH] remove redundant "what to do" (#2075) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 37451e3..167942e 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -12731,7 +12731,7 @@ There are many approaches to dealing with this potential problem: There are two potential problems with testing for `nullptr`: -* it is not always obvious what to do what to do if we find `nullptr` +* it is not always obvious what to do if we find `nullptr` * the test can be redundant and/or relatively expensive * it is not obvious if the test is to protect against a violation or part of the required logic.