Skip to content

Commit c614510

Browse files
committed
Updated the licensing information for the Levenshtein distance function
1 parent 6b21087 commit c614510

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/librustdoc/html/static/main.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,11 @@
112112
document.location.href = url;
113113
});
114114
/**
115-
* Code from Stackoverflow to compute the Levenshtein distance between two strings
116-
* Written by Marco de Wit at http://stackoverflow.com/a/18514751/745719
115+
* A function to compute the Levenshtein distance between two strings
116+
* Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported
117+
* Full License can be found at http://creativecommons.org/licenses/by-sa/3.0/legalcode
118+
* This code is an unmodified version of the code written by Marco de Wit
119+
* and was found at http://stackoverflow.com/a/18514751/745719
117120
*/
118121
var levenshtein = (function() {
119122
var row2 = [];

0 commit comments

Comments
 (0)