Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit 46395d0

Browse files
committed
Format State.ml
1 parent c498478 commit 46395d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/State.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ let getFullFromCmt ~state ~uri =
6363
| Ok full ->
6464
Hashtbl.replace package.interModuleDependencies moduleName
6565
(SharedTypes.hashList full.extra.externalReferences |> List.map fst);
66-
Ok (package, full) )
67-
| None -> Error ("can't find module " ^ moduleName) )
66+
Ok (package, full))
67+
| None -> Error ("can't find module " ^ moduleName))
6868

6969
let docsForModule modname state ~package =
7070
if Hashtbl.mem package.pathsForModule modname then (
@@ -76,10 +76,10 @@ let docsForModule modname state ~package =
7676
Log.log ("FINDING " ^ cmt ^ " src " ^ (src |? ""));
7777
match docsForCmt ~moduleName:modname cmt src state with
7878
| None -> None
79-
| Some docs -> Some (docs, src) )
79+
| Some docs -> Some (docs, src))
8080
else (
8181
Log.log ("No path for module " ^ modname);
82-
None )
82+
None)
8383

8484
let fileForUri state uri =
8585
match getFullFromCmt ~state ~uri with

0 commit comments

Comments
 (0)