aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-02-18 23:55:19 -0500
committerJesse Luehrs <doy@tozt.net>2023-02-18 23:55:19 -0500
commita54f18f445e5bb13231ab3c716a32d1706119b5f (patch)
treef08cba15c7f47261c03860f8ca4f4839f43f0e6e /src/api.rs
parent93a6fb1027243a0f35d99373d84584b33a46c202 (diff)
downloadrbw-a54f18f445e5bb13231ab3c716a32d1706119b5f.tar.gz
rbw-a54f18f445e5bb13231ab3c716a32d1706119b5f.zip
more clippy cleanups
Diffstat (limited to 'src/api.rs')
-rw-r--r--src/api.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/api.rs b/src/api.rs
index b6cb4d4..174949d 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -678,9 +678,6 @@ impl Client {
device_push_token: String::new(),
two_factor_token: two_factor_token
.map(std::string::ToString::to_string),
- // enum casts are safe, and i don't think there's a better way to
- // write it without some explicit impls
- #[allow(clippy::as_conversions)]
two_factor_provider: two_factor_provider.map(|ty| ty as u32),
};
let client = self.reqwest_client().await?;