1
0
mirror of https://github.com/actix/examples synced 2025-01-22 22:05:57 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,