fix comments in server/*/get_company.rs

This commit is contained in:
ayham 2021-07-17 10:31:29 +03:00
parent ee96ca4542
commit 5f58c9138f
Signed by: ayham
GPG Key ID: EAB7F5A9DF503678
1 changed files with 2 additions and 0 deletions

View File

@ -4,8 +4,10 @@ use crate::common::misc::return_flags::ReturnFlags;
/// Returns a company from the postgres SQL database.
///
/// Takes in a company symbol and returns a company.
/// Shuold be used in Async contexts
///
/// Arguments:
/// sql_conn - The SQL connection to use.
/// search_symbol - The specific company symbol to find.
///
/// Returns: a reference to the found company on success, and a string containing the reason of