mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Update for rust format
This commit is contained in:
parent
63cc63b4b0
commit
d0ffb2ecdd
1 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,10 @@ pub fn authenticate(
|
|||
|
||||
Some((0xad, data)) => {
|
||||
let error_data: APLoginFailed = protobuf::parse_from_bytes(data.as_ref()).unwrap();
|
||||
panic!("Authentication failed with reason: {:?}", error_data.get_error_code())
|
||||
panic!(
|
||||
"Authentication failed with reason: {:?}",
|
||||
error_data.get_error_code()
|
||||
)
|
||||
}
|
||||
|
||||
Some((cmd, _)) => panic!("Unexpected packet {:?}", cmd),
|
||||
|
|
Loading…
Reference in a new issue