Fix formatting

This commit is contained in:
Sasha Hilton 2018-02-25 16:33:32 +01:00
parent 0abad9a8f8
commit 197d80edbf

View file

@ -50,7 +50,7 @@ impl SpotifyId {
pub fn from_raw(data: &[u8]) -> Result<SpotifyId, SpotifyIdError> { pub fn from_raw(data: &[u8]) -> Result<SpotifyId, SpotifyIdError> {
if data.len() != 16 { if data.len() != 16 {
return Err(SpotifyIdError) return Err(SpotifyIdError);
}; };
let high = BigEndian::read_u64(&data[0..8]); let high = BigEndian::read_u64(&data[0..8]);