From c79e950ca22c7a957c11e510700664327b042115 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 26 Aug 2024 14:08:07 +0300 Subject: Appease most clippy warnings The warnings only remain in places where I need them to remain, because I either need a reminder to implement something, or I need to refactor and simplify the code in question. --- util/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/src/lib.rs') diff --git a/util/src/lib.rs b/util/src/lib.rs index f92ee1b..cb5f666 100644 --- a/util/src/lib.rs +++ b/util/src/lib.rs @@ -22,13 +22,13 @@ pub enum MentionType { /// Common data-types useful in creating smart authentication systems. pub mod auth { + /// Various types of credentials Kittybox can use. #[derive(PartialEq, Eq, Hash, Clone, Copy)] pub enum EnrolledCredential { - /// An indicator that a password is enrolled. Passwords can be - /// used to recover from a lost token. + /// Denotes availability of a password. Passwords can be + /// used to recover from a lost passkey. Password, - /// An indicator that one or more WebAuthn credentials were - /// enrolled. + /// Denotes availability of one or more passkeys. WebAuthn } } -- cgit 1.4.1