diff options
author | regnat <rg@regnat.ovh> | 2022-03-03 13:12:27 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2022-03-07 10:09:10 +0100 |
commit | 2405bbbb5edd204d6031edcd470a2057f4a25782 (patch) | |
tree | 92f43382357a0a59ddba42400ef94bc4ce371112 /src/libutil/suggestions.hh | |
parent | c0792b1546ceed1c02a02ca1286ead55f79d5798 (diff) |
Add some tests for the suggestions
Diffstat (limited to 'src/libutil/suggestions.hh')
-rw-r--r-- | src/libutil/suggestions.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/suggestions.hh b/src/libutil/suggestions.hh index 3caed487a..76063a261 100644 --- a/src/libutil/suggestions.hh +++ b/src/libutil/suggestions.hh @@ -6,6 +6,8 @@ namespace nix { +int levenshteinDistance(std::string_view first, std::string_view second); + /** * A potential suggestion for the cli interface. */ |