aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Registry.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/protocols/Registry.ml')
-rw-r--r--lib/protocols/Registry.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/protocols/Registry.ml b/lib/protocols/Registry.ml
index 4e3a44e..4c47001 100644
--- a/lib/protocols/Registry.ml
+++ b/lib/protocols/Registry.ml
@@ -7,7 +7,7 @@ type Handle.protocol += Registry of implementation
type t = implementation
-let make impl = Registry impl
+let make impl = Registry (impl :> implementation)
let from handle = Handle.into handle (function Registry impl -> Some impl | _ -> None)