From ed5090e427d05a0c8d413c20b754a93214034db2 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Tue, 15 Feb 2022 21:25:13 +0000 Subject: Add gitlab-ci --- src/barbfile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/barbfile.rs') diff --git a/src/barbfile.rs b/src/barbfile.rs index 39e4485..a039253 100644 --- a/src/barbfile.rs +++ b/src/barbfile.rs @@ -53,7 +53,7 @@ impl Method { match self { Method::GET => false, Method::DELETE => false, - _ => true + _ => true, } } } @@ -173,7 +173,7 @@ impl FromStr for BarbFile { Ok(BarbFile { header: BarbHeader::new(method, url, headers, filter), - body: if body == "" {None} else {Some(body)}, + body: if body == "" { None } else { Some(body) }, }) } } -- cgit v1.2.3