Spelling correction for docs for cppcoreguidelines-owning-memory
authorSylvestre Ledru <sylvestre@debian.org>
Sun, 31 Mar 2019 21:53:00 +0000 (21:53 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 31 Mar 2019 21:53:00 +0000 (21:53 +0000)
Summary: There's a typo in the docs, as mentioned in the title. Please see the diff.

Reviewers: JonasToth

Subscribers: sylvestre.ledru, nemanjai, kbarton, cfe-commits

Tags: #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D60050

llvm-svn: 357371

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst

index 3f6f8c4..cd19016 100644 (file)
@@ -50,7 +50,7 @@ to be deleted.
   int* NonOwner = new int(42); // First warning here, since new must land in an owner
   delete NonOwner; // Second warning here, since only owners are allowed to be deleted
 
-  // Example Good, Ownership correclty stated
+  // Example Good, Ownership correctly stated
   gsl::owner<int*> Owner = new int(42); // Good
   delete Owner; // Good as well, statically enforced, that only owners get deleted