[pushed] Fix two typos in gdb_binary_search.h

Message ID 20200308171610.31418-1-tom@tromey.com
State New
Headers show
Series
  • [pushed] Fix two typos in gdb_binary_search.h
Related show

Commit Message

Tom Tromey March 8, 2020, 5:16 p.m.
I noticed a couple of typos in gdb_binary_search.h.  This fixes them.

gdbsupport/ChangeLog
2020-03-08  Tom Tromey  <tom@tromey.com>

	* gdb_binary_search.h: Fix two typos.
---
 gdbsupport/ChangeLog           | 4 ++++
 gdbsupport/gdb_binary_search.h | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.17.2

Patch

diff --git a/gdbsupport/gdb_binary_search.h b/gdbsupport/gdb_binary_search.h
index a4560151e06..ddda415462e 100644
--- a/gdbsupport/gdb_binary_search.h
+++ b/gdbsupport/gdb_binary_search.h
@@ -26,9 +26,9 @@ 
 namespace gdb {
 
 /* Implements a binary search using C++ iterators.
-   This differs from std::binary_search in that it returns an interator for
+   This differs from std::binary_search in that it returns an iterator for
    the found element and in that the type of EL can be different from the
-   type of the elements in the countainer.
+   type of the elements in the container.
 
    COMP is a C-style comparison function with signature:
    int comp(const value_type& a, const T& b);