diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-02-18 23:55:19 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-02-18 23:55:19 -0500 |
commit | a54f18f445e5bb13231ab3c716a32d1706119b5f (patch) | |
tree | f08cba15c7f47261c03860f8ca4f4839f43f0e6e /src/api.rs | |
parent | 93a6fb1027243a0f35d99373d84584b33a46c202 (diff) | |
download | rbw-a54f18f445e5bb13231ab3c716a32d1706119b5f.tar.gz rbw-a54f18f445e5bb13231ab3c716a32d1706119b5f.zip |
more clippy cleanups
Diffstat (limited to 'src/api.rs')
-rw-r--r-- | src/api.rs | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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?; |