From 4e3f9e3cc1969828821eedd95b2ae17d789f9191 Mon Sep 17 00:00:00 2001 From: Ferris Tseng Date: Sun, 1 Nov 2020 19:34:52 -0500 Subject: formatting --- ipfs-api/src/client/internal.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'ipfs-api/src/client/internal.rs') diff --git a/ipfs-api/src/client/internal.rs b/ipfs-api/src/client/internal.rs index 1b544ee..2b1f62f 100644 --- a/ipfs-api/src/client/internal.rs +++ b/ipfs-api/src/client/internal.rs @@ -1947,10 +1947,14 @@ impl IpfsClient { /// #[inline] pub async fn ls(&self, path: &str) -> Result { - self.request(request::Ls { - path: path, - .. Default::default() - }, None).await + self.request( + request::Ls { + path: path, + ..Default::default() + }, + None, + ) + .await } /// List the contents of an Ipfs multihash. @@ -1976,7 +1980,7 @@ impl IpfsClient { #[inline] pub async fn ls_with_options( &self, - options: request::Ls<'_> + options: request::Ls<'_>, ) -> impl Stream> { impl_stream_api_response! { (self, options, None) => request_stream_json -- cgit v1.2.3