From 46549f903d51426e70115435529def0bd0ea171a Mon Sep 17 00:00:00 2001 From: shnewto Date: Mon, 18 Dec 2023 09:50:59 -0700 Subject: [PATCH] cargo fmt --- src/dns.rs | 1 - src/zone.rs | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dns.rs b/src/dns.rs index a1bd93a..958abee 100644 --- a/src/dns.rs +++ b/src/dns.rs @@ -1,4 +1,3 @@ - use crate::client::{CloudflareClient, RequestBody, ENDPOINT}; const PATH: &str = "zones"; diff --git a/src/zone.rs b/src/zone.rs index 4d8e277..165ac4f 100644 --- a/src/zone.rs +++ b/src/zone.rs @@ -27,7 +27,10 @@ impl Zone { } pub(crate) fn create(name: String) { - let body = RequestBody { name: Option::from(name), ..Default::default()}; + let body = RequestBody { + name: Option::from(name), + ..Default::default() + }; let response = CloudflareClient { endpoint: ENDPOINT.to_string(), }