aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.rs
diff options
context:
space:
mode:
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?;