From 16ea7da81dfeba34ec803c56aa4ea2665b6d3e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= Date: Wed, 13 Jun 2018 11:15:22 +0800 Subject: [PATCH] client base: spacing --- src/lib_client_base/client_context.ml | 4 ++-- src/lib_client_base/client_context.mli | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib_client_base/client_context.ml b/src/lib_client_base/client_context.ml index ee2203375..012ddcadb 100644 --- a/src/lib_client_base/client_context.ml +++ b/src/lib_client_base/client_context.ml @@ -49,7 +49,7 @@ class simple_printer log = end class type wallet = object - method with_lock : ( unit -> 'a Lwt.t) -> 'a Lwt.t + method with_lock : (unit -> 'a Lwt.t) -> 'a Lwt.t method load : string -> default:'a -> 'a Data_encoding.encoding -> 'a tzresult Lwt.t method write : string -> 'a -> 'a Data_encoding.encoding -> unit tzresult Lwt.t end @@ -96,7 +96,7 @@ class proxy_context (obj : full) = object 'p -> 'q -> 'i -> (unit -> unit) tzresult Lwt.t = obj#call_streamed_service method error : type a b. (a, b) lwt_format -> a = obj#error method generic_json_call = obj#generic_json_call - method with_lock : type a. ( unit -> a Lwt.t) -> a Lwt.t = obj#with_lock + method with_lock : type a. (unit -> a Lwt.t) -> a Lwt.t = obj#with_lock method load : type a. string -> default:a -> a Data_encoding.encoding -> a tzresult Lwt.t = obj#load method log : type a. string -> (a, unit) lwt_format -> a = obj#log method message : type a. (a, unit) lwt_format -> a = obj#message diff --git a/src/lib_client_base/client_context.mli b/src/lib_client_base/client_context.mli index 2341db9fa..02a97687f 100644 --- a/src/lib_client_base/client_context.mli +++ b/src/lib_client_base/client_context.mli @@ -29,7 +29,7 @@ class type io = object end class type wallet = object - method with_lock : ( unit -> 'a Lwt.t) -> 'a Lwt.t + method with_lock : (unit -> 'a Lwt.t) -> 'a Lwt.t method load : string -> default:'a -> 'a Data_encoding.encoding -> 'a tzresult Lwt.t method write : string -> 'a -> 'a Data_encoding.encoding -> unit tzresult Lwt.t end