Change to single-line docstring

This commit is contained in:
Flori Weber 2023-06-20 22:36:39 +02:00
parent 0a523d54c1
commit 3958f049ea
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 9 additions and 7 deletions

View File

@ -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,