Fix typo in comment.
authorNico Weber <nicolasweber@gmx.de>
Sat, 2 May 2015 21:34:39 +0000 (21:34 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 2 May 2015 21:34:39 +0000 (21:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236392 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/edit_distance.h

index 9ee1edc54e05e7bc377cd4d2a00e08672b8e84a8..c2b2041242aa61cff81a9a771b634d1a6b398f05 100644 (file)
@@ -50,7 +50,7 @@ unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
   //   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();