Skip to content

[Enhancement] Add docstring with description, params, and returnΒ #219

@Dario0731

Description

@Dario0731

πŸ›  Issue: Add docstring with description, params, and return

πŸ“Œ Description

Add docstring with description, params, and return on every function on : contracts\user_management\src\functions\rbac.rs
Use the next template:

/// Brief description: explains what the function does.
///
/// # Arguments
///
/// * param1 - Explanation of the first parameter (If needed).
/// * param2 - Explanation of the second parameter (If needed).
///
/// # Returns
///
/// * Result<T, E> - What the function returns, with description of Ok and Err.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions