From a54f18f445e5bb13231ab3c716a32d1706119b5f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 18 Feb 2023 23:55:19 -0500 Subject: more clippy cleanups --- src/api.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/api.rs') 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?; -- cgit v1.2.3-54-g00ecf