1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 02:39:53 +02:00

Fix formatting

This commit is contained in:
johannesd3 2021-04-01 18:10:42 +02:00
parent 7c3d89112d
commit 11ce29077e
4 changed files with 13 additions and 12 deletions

View file

@ -31,13 +31,10 @@ impl Credentials {
/// ### Example
/// ```rust
/// use librespot_core::authentication::Credentials;
///
///
/// let creds = Credentials::with_password("my account", "my password");
/// ```
pub fn with_password(
username: impl Into<String>,
password: impl Into<String>,
) -> Credentials {
pub fn with_password(username: impl Into<String>, password: impl Into<String>) -> Credentials {
Credentials {
username: username.into(),
auth_type: AuthenticationType::AUTHENTICATION_USER_PASS,