From 5f0aa35c25b9b8d17dbd06f2e2e755da53db9a27 Mon Sep 17 00:00:00 2001 From: Arvid Lunnemark Date: Thu, 30 Jun 2022 16:34:52 -0700 Subject: [PATCH] update comments --- daemon/db/db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/db/db.rs b/daemon/db/db.rs index f728856a..9b5410ab 100644 --- a/daemon/db/db.rs +++ b/daemon/db/db.rs @@ -1122,11 +1122,11 @@ impl DB { } - /// It checks if the database has been registered + /// Returns whether the user has registered. /// /// Returns: /// - /// A boolean value. + /// Whether the user has registered. pub fn has_registered(&self) -> Result { let mut conn = self.connect()?; use crate::schema::config;