Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shnewto committed Dec 18, 2023
1 parent 7b6c480 commit 46549f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/dns.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

use crate::client::{CloudflareClient, RequestBody, ENDPOINT};

const PATH: &str = "zones";
Expand Down
5 changes: 4 additions & 1 deletion src/zone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
Expand Down

0 comments on commit 46549f9

Please sign in to comment.