We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542e69d commit e6667dcCopy full SHA for e6667dc
lib/block.ml
@@ -217,9 +217,7 @@ let guess_ocaml_kind contents =
217
218
let ends_by_semi_semi c =
219
match List.rev c with
220
- | h :: _ ->
221
- let len = String.length h in
222
- len > 2 && Astring.String.is_suffix ~affix:";;" h
+ | h :: _ -> Astring.String.is_suffix ~affix:";;" h
223
| _ -> false
224
225
let pp_line_directive ppf (file, line) = Fmt.pf ppf "#%d %S" line file
0 commit comments