From 1f09251a852f1b3e8409f16e37488cb0a124797e Mon Sep 17 00:00:00 2001 From: Arun Kulshreshtha Date: Wed, 3 Apr 2019 14:11:23 -0700 Subject: [PATCH] edenapi: make hyper client fields private Summary: Now that the Hyper client is contained in a single module, its fields do not need to be crate-public. Reviewed By: sfilipco Differential Revision: D14733274 fbshipit-source-id: aa5c2f4fd9fdf6e686da1fed6300e8cf8f7e5dbc --- lib/edenapi/src/client.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/edenapi/src/client.rs b/lib/edenapi/src/client.rs index f53884eaa0..c82d17ca7d 100644 --- a/lib/edenapi/src/client.rs +++ b/lib/edenapi/src/client.rs @@ -32,10 +32,10 @@ use crate::config::{ClientCreds, Config}; pub(crate) type HyperClient = Client, Body>; pub struct EdenApiHttpClient { - pub(crate) client: Arc, - pub(crate) base_url: Url, - pub(crate) repo: String, - pub(crate) cache_path: PathBuf, + client: Arc, + base_url: Url, + repo: String, + cache_path: PathBuf, } impl EdenApiHttpClient {