From 9840eefacfbd2a64440b3956aab5ac5c6ccca967 Mon Sep 17 00:00:00 2001 From: Sebastian Valle Date: Mon, 21 Aug 2017 12:01:00 -0500 Subject: [PATCH] CP.2: Fixed a typo in the async example code. (#1030) span a task -> spawn a task --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 0d4863e..ff2d2d7 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -13283,7 +13283,7 @@ Local static variables are a common source of data races. // ... auto h1 = async([&]{ sort(par, s); }); // spawn a task to sort // ... - auto h2 = async([&]{ return find_all(buf, sz, pat); }); // span a task to find matches + auto h2 = async([&]{ return find_all(buf, sz, pat); }); // spawn a task to find matches // ... }