From 3958f049ea70505c4dd155b09fcfbf68ecd1d5bf Mon Sep 17 00:00:00 2001 From: Flori Weber Date: Tue, 20 Jun 2023 22:36:39 +0200 Subject: [PATCH] Change to single-line docstring --- src/api/auth/register.rs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/api/auth/register.rs b/src/api/auth/register.rs index 85196cb..a862ae3 100644 --- a/src/api/auth/register.rs +++ b/src/api/auth/register.rs @@ -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,