From ec6e14aacc10bf4d44309ddb73fe01f9c27faf6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Tu=C3=B1=C3=B3n?= Date: Thu, 3 Sep 2020 04:01:16 -0500 Subject: [PATCH] Fix find_user_by_uid's doc comment (#360) The previous doc comment was referring to the insert_new_user function --- diesel/src/actions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diesel/src/actions.rs b/diesel/src/actions.rs index 7a4ec2f7..97bd19c7 100644 --- a/diesel/src/actions.rs +++ b/diesel/src/actions.rs @@ -3,7 +3,7 @@ use uuid::Uuid; use crate::models; -/// Run query using Diesel to insert a new database row and return the result. +/// Run query using Diesel to find user by uid and return it. pub fn find_user_by_uid( uid: Uuid, conn: &SqliteConnection,