diff options
| author | Emilio Jesus Gallego Arias | 2020-03-13 04:55:49 -0400 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2020-03-13 04:55:49 -0400 |
| commit | f3fb2f21646f257c0dd030a8411bafd80ea9d0bd (patch) | |
| tree | f9949fbe34ee43c9ce868ee97870afaf8f11d877 /ide | |
| parent | 76d8a38a4591c604795c5429ffcbbe9daaa8945d (diff) | |
[cleanup] Remove unnecessary Map/Set module creation
Diffstat (limited to 'ide')
| -rw-r--r-- | ide/wg_Completion.ml | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ide/wg_Completion.ml b/ide/wg_Completion.ml index 396939cfcc..ed5e402586 100644 --- a/ide/wg_Completion.ml +++ b/ide/wg_Completion.ml @@ -8,17 +8,7 @@ (* * (see LICENSE file for the text of the license) *) (************************************************************************) -module StringOrd = -struct - type t = string - let compare s1 s2 = - (* we use first size, then usual comparison *) - let d = String.length s1 - String.length s2 in - if d <> 0 then d - else compare s1 s2 -end - -module Proposals = Set.Make(StringOrd) +module Proposals = CString.Set (** Retrieve completion proposals in the buffer *) let get_syntactic_completion (buffer : GText.buffer) pattern accu = |
