summaryrefslogtreecommitdiff
path: root/src/string_search.h
diff options
context:
space:
mode:
authorMasashi Hirano <cherrydog07@gmail.com>2018-06-04 00:59:21 +0900
committerMyles Borins <mylesborins@google.com>2018-06-06 10:32:48 +0200
commit66f4c7bdec8cee1a53deacc18cfa5bdabf810d01 (patch)
tree830d2759db80c1dd0e20b8684ea32036d98f9717 /src/string_search.h
parentc60810a85371227519dbf6ce0bd3d532b2bffc19 (diff)
downloadnode-new-66f4c7bdec8cee1a53deacc18cfa5bdabf810d01.tar.gz
src: fix typo string_search.h comment
PR-URL: https://github.com/nodejs/node/pull/21115 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'src/string_search.h')
-rw-r--r--src/string_search.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_search.h b/src/string_search.h
index 9c090da247..358a4c1b02 100644
--- a/src/string_search.h
+++ b/src/string_search.h
@@ -559,7 +559,7 @@ size_t StringSearch<Char>::InitialSearch(
return subject.length();
}
-// Perform a a single stand-alone search.
+// Perform a single stand-alone search.
// If searching multiple times for the same pattern, a search
// object should be constructed once and the Search function then called
// for each search.