From ff8934c39b1492943c559c69ebd26bbc85566fe2 Mon Sep 17 00:00:00 2001 From: Amir Livneh Date: Tue, 19 Feb 2019 14:32:39 -0500 Subject: [PATCH] Fix grammar (#1335) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4baef0b..b84e48a 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -21814,7 +21814,7 @@ The `string`s of `v` are destroyed upon exit from `bad()` and so is `v` itself. ##### Enforcement -Most compilers already warn about simple cases and has the information to do more. Consider any pointer returned from a function suspect. Use containers, resource handles, and views (e.g., `span` known not to be resource handles) to lower the number of cases to be examined. For starters, consider every class with a destructor as resource handle. +Most compilers already warn about simple cases and have the information to do more. Consider any pointer returned from a function suspect. Use containers, resource handles, and views (e.g., `span` known not to be resource handles) to lower the number of cases to be examined. For starters, consider every class with a destructor as resource handle. ### Discussion: Use templates to express containers (and other resource handles)