aboutsummaryrefslogtreecommitdiff
path: root/src/barbfile.rs
diff options
context:
space:
mode:
authorGuillaume Pasquet <dev@etenil.net>2022-02-15 21:25:13 +0000
committerGuillaume Pasquet <dev@etenil.net>2022-02-15 21:25:13 +0000
commited5090e427d05a0c8d413c20b754a93214034db2 (patch)
treeebf8ff7ed8668b1e7a27497761ea8e9ed3f1a22b /src/barbfile.rs
parent60f721b94ae70533a4a6ee9ffa7d24e5a19abff5 (diff)
Add gitlab-ci
Diffstat (limited to 'src/barbfile.rs')
-rw-r--r--src/barbfile.rs4
1 files changed, 2 insertions, 2 deletions
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) },
})
}
}