Gitlab updates will be applied at 1:30pm, (17:30 UTC), today. No downtime expected.

Commit 8579466a authored by Ben Boeckel's avatar Ben Boeckel

gitlab: use debug_struct for Debug impls

parent d0660e3a
......@@ -33,7 +33,9 @@ pub struct Gitlab {
impl Debug for Gitlab {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "Gitlab {{ {} }}", self.base_url)
f.debug_struct("Gitlab")
.field("base_url", &self.base_url)
.finish()
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment