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:
parent
7c3d89112d
commit
11ce29077e
4 changed files with 13 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue