[llvm] r236392 - Fix typo in comment.
Nico Weber
nicolasweber at gmx.de
Sat May 2 14:34:39 PDT 2015
Author: nico
Date: Sat May 2 16:34:39 2015
New Revision: 236392
URL: http://llvm.org/viewvc/llvm-project?rev=236392&view=rev
Log:
Fix typo in comment.
Modified:
llvm/trunk/include/llvm/ADT/edit_distance.h
Modified: llvm/trunk/include/llvm/ADT/edit_distance.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/edit_distance.h?rev=236392&r1=236391&r2=236392&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/edit_distance.h (original)
+++ llvm/trunk/include/llvm/ADT/edit_distance.h Sat May 2 16:34:39 2015
@@ -50,7 +50,7 @@ unsigned ComputeEditDistance(ArrayRef<T>
// http://en.wikipedia.org/wiki/Levenshtein_distance
//
// Although the algorithm is typically described using an m x n
- // array, only two rows are used at a time, so this implemenation
+ // array, only two rows are used at a time, so this implementation
// just keeps two separate vectors for those two rows.
typename ArrayRef<T>::size_type m = FromArray.size();
typename ArrayRef<T>::size_type n = ToArray.size();
More information about the llvm-commits
mailing list