Change to single-line docstring
This commit is contained in:
parent
20f39a409d
commit
6eb3cf65d1
|
@ -12,13 +12,15 @@ use crate::{
|
|||
};
|
||||
|
||||
impl Instance {
|
||||
/**
|
||||
Registers a new user on the Spacebar server.
|
||||
# Arguments
|
||||
* `register_schema` - The [`RegisterSchema`] that contains all the information that is needed to register a new user.
|
||||
# Errors
|
||||
* [`ChorusLibError`] - If the server does not respond.
|
||||
*/
|
||||
/// Registers a new user on the Spacebar server.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `register_schema` - The [`RegisterSchema`] that contains all the information that is needed to register a new user.
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// * [`ChorusLibError`] - If the server does not respond.
|
||||
pub async fn register_account(
|
||||
&mut self,
|
||||
register_schema: &RegisterSchema,
|
||||
|
|
Loading…
Reference in New Issue