From 5095c3030048b3dc469a363b0c8cad9278baab75 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 18 Oct 2020 13:18:31 -0700 Subject: rustfmt --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 9145fb1..c420e96 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -146,7 +146,9 @@ pub async fn filter_request( | (&Method::OPTIONS, [index, "_mapping"]) => { filter_read_request(index, path_chunks[1], ¶ms, config)? } - _ => Err(ProxyError::NotSupported("unknown elasticsearch API endpoint".to_string()))?, + _ => Err(ProxyError::NotSupported( + "unknown elasticsearch API endpoint".to_string(), + ))?, }; let upstream_query = serde_urlencoded::to_string(params).expect("re-encoding URL parameters"); -- cgit v1.2.3