Change to single-line docstring

This commit is contained in:
Flori Weber 2023-06-20 22:36:39 +02:00
parent 20f39a409d
commit 6eb3cf65d1
1 changed files with 9 additions and 7 deletions

View File

@ -12,13 +12,15 @@ use crate::{
}; };
impl Instance { impl Instance {
/** /// Registers a new user on the Spacebar server.
Registers a new user on the Spacebar server. ///
# Arguments /// # Arguments
* `register_schema` - The [`RegisterSchema`] that contains all the information that is needed to register a new user. ///
# Errors /// * `register_schema` - The [`RegisterSchema`] that contains all the information that is needed to register a new user.
* [`ChorusLibError`] - If the server does not respond. ///
*/ /// # Errors
///
/// * [`ChorusLibError`] - If the server does not respond.
pub async fn register_account( pub async fn register_account(
&mut self, &mut self,
register_schema: &RegisterSchema, register_schema: &RegisterSchema,