From 2a089208f9e41dc52271f58b9c758a908c2a1906 Mon Sep 17 00:00:00 2001 From: Mateusz Jakub Fila Date: Wed, 18 Dec 2024 09:58:07 +0100 Subject: [PATCH] fix typo :: --- doc/collections_as_container.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/collections_as_container.md b/doc/collections_as_container.md index 847c37eaa..5f8e256c0 100644 --- a/doc/collections_as_container.md +++ b/doc/collections_as_container.md @@ -201,7 +201,7 @@ For example: std::find_if(std::begin(collection), std::end(collection), predicate ); // requires InputIterator -> OK std::adjacent_find(std::begin(collection), std::end(collection), predicate ); // requires ForwardIterator -> might compile, unspecified result std::fill(std::begin(collection), std::end(collection), value ); // requires ForwardIterator and writable -> might compile, wrong result -std::::sort(std::begin(collection), std::end(collection)); // requires RandomAccessIterator and Swappable -> might compile, wrong result +std::sort(std::begin(collection), std::end(collection)); // requires RandomAccessIterator and Swappable -> might compile, wrong result ``` ## Standard range algorithms