Skip to content

Commit 4350ed0

Browse files
committed
Fix tidy
1 parent bc16c4e commit 4350ed0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/librustdoc/html/static/js/search.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ const NO_TYPE_FILTER = -1;
7575
*/
7676

7777
/*
78-
* This function was translated, mostly line-for-line, from
79-
* https://github.com/rust-lang/rust/blob/ff4b772f805ec1e/compiler/rustc_span/src/edit_distance.rs
80-
*
81-
* The current implementation is the restricted Damerau-Levenshtein algorithm. It is restricted
82-
* because it does not permit modifying characters that have already been transposed. The specific
83-
* algorithm should not matter to the caller of the methods, which is why it is not noted in the
84-
* documentation.
85-
*/
78+
* This function was translated, mostly line-for-line, from
79+
* https://github.com/rust-lang/rust/blob/ff4b772f805ec1e/compiler/rustc_span/src/edit_distance.rs
80+
*
81+
* The current implementation is the restricted Damerau-Levenshtein algorithm. It is restricted
82+
* because it does not permit modifying characters that have already been transposed. The specific
83+
* algorithm should not matter to the caller of the methods, which is why it is not noted in the
84+
* documentation.
85+
*/
8686
const editDistanceState = {
8787
current: [],
8888
prev: [],
@@ -3924,4 +3924,4 @@ if (typeof window !== "undefined") {
39243924
// exports.
39253925
initSearch(new Map());
39263926
}
3927-
})();
3927+
})();

0 commit comments

Comments
 (0)