aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jake@jakeswenson.com> 2022-05-17 22:36:03 -0700
committerGravatar Jake Swenson <jake@jakeswenson.com> 2022-05-17 22:36:03 -0700
commit3261af8d715d05d1b4a25c54dbb81ddb9d5ce5f7 (patch)
treeda87200eb39553f4390c9d6e8f74166df6e5de13 /src/lib.rs
parent3ca93ff3315b317384e72914367905cee9cabc57 (diff)
downloadnotion-3261af8d715d05d1b4a25c54dbb81ddb9d5ce5f7.tar.gz
notion-3261af8d715d05d1b4a25c54dbb81ddb9d5ce5f7.tar.zst
notion-3261af8d715d05d1b4a25c54dbb81ddb9d5ce5f7.zip
style(cargo fmt): Format code
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ae2ed46..bc4b0e7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -18,9 +18,7 @@ const NOTION_API_VERSION: &str = "2022-02-22";
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("Invalid Notion API Token: {}", source)]
- InvalidApiToken {
- source: header::InvalidHeaderValue,
- },
+ InvalidApiToken { source: header::InvalidHeaderValue },
#[error("Unable to build reqwest HTTP client: {}", source)]
ErrorBuildingClient { source: reqwest::Error },