1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

Fix find_user_by_uid's doc comment (#360)

The previous doc comment was referring to the insert_new_user function
This commit is contained in:
Carlos Tuñón
2020-09-03 04:01:16 -05:00
committed by GitHub
parent 3cebb01309
commit ec6e14aacc

View File

@ -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,