fix comments in server/*/create_stock.rs

This commit is contained in:
ayham 2021-07-17 10:39:50 +03:00
parent 4699c5b1e4
commit 54258f0ae8
Signed by: ayham
GPG Key ID: EAB7F5A9DF503678
1 changed files with 2 additions and 0 deletions

View File

@ -3,8 +3,10 @@ use crate::common::misc::return_flags::ReturnFlags;
/// Creates a stock on the postgres SQL database.
///
/// Takes in a stock name and creates a table in the ```asset_schema``` schema
/// Should be used in Async contexts.
///
/// Arguments:
/// sql_conn - The SQL connection to use.
/// stock_name - The name of the stock to create.
///
/// Returns: nothing on success, a string containing the reason of failure on error.