Skip to content

Commit 2fec81c

Browse files
slattarinigitster
authored andcommitted
kwset: fix spelling in comments
Correct spelling mistakes noticed using Lucas De Marchi's codespell tool. Signed-off-by: Stefano Lattarini <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]> Acked-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0f7b4c2 commit 2fec81c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kwset.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
The author may be reached (Email) at the address [email protected],
2727
or (US mail) as Mike Haertel c/o Free Software Foundation. */
2828

29-
/* The algorithm implemented by these routines bears a startling resemblence
29+
/* The algorithm implemented by these routines bears a startling resemblance
3030
to one discovered by Beate Commentz-Walter, although it is not identical.
3131
See "A String Matching Algorithm Fast on the Average," Technical Report,
3232
IBM-Germany, Scientific Center Heidelberg, Tiergartenstrasse 15, D-6900
@@ -435,7 +435,7 @@ kwsprep (kwset_t kws)
435435
/* Update the delta table for the descendents of this node. */
436436
treedelta(curr->links, curr->depth, delta);
437437

438-
/* Compute the failure function for the decendents of this node. */
438+
/* Compute the failure function for the descendants of this node. */
439439
treefails(curr->links, curr->fail, kwset->trie);
440440

441441
/* Update the shifts at each node in the current node's chain

0 commit comments

Comments
 (0)