diff --git a/src/wrapper.rs b/src/wrapper.rs index 414d86b..234a032 100644 --- a/src/wrapper.rs +++ b/src/wrapper.rs @@ -22,7 +22,7 @@ pub struct ListenBrainz { } impl ListenBrainz { - /// Construct a new ListenBrainz client. + /// Construct a new ListenBrainz client that is not authenticated. pub fn new() -> Self { Self { client: Client::new(), @@ -47,6 +47,8 @@ impl ListenBrainz { /// Authenticate this client with the given token. /// If the token is valid, authenticates the client and returns [`Ok`]. + /// In case the client was already authenticated, the old information + /// is discarded and the new token will be used. /// /// # Errors ///