From 2cdba0195daddbb42a8c2764012efff6bdb55372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Fri, 24 Aug 2018 10:15:40 +0200 Subject: [PATCH] Fix mustache_cli wrt string/bytes --- examples/mustache_cli.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mustache_cli.ml b/examples/mustache_cli.ml index 0c7a38f..f4f1310 100644 --- a/examples/mustache_cli.ml +++ b/examples/mustache_cli.ml @@ -10,7 +10,7 @@ let load_file f = let s = Bytes.create n in really_input ic s 0 n; close_in ic; - (s) + (Bytes.to_string s) let run json_filename template_filename = let j = load_file json_filename