mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 19:42:03 +02:00
Fix formatting
This commit is contained in:
parent
689415a6f1
commit
b77f0a18ce
2 changed files with 6 additions and 3 deletions
|
@ -32,7 +32,7 @@ pub async fn connect(addr: String, proxy: &Option<Url>) -> io::Result<Transport>
|
|||
.map_err(|e| {
|
||||
io::Error::new(io::ErrorKind::InvalidInput, format!("Invalid port: {}", e))
|
||||
})?;
|
||||
|
||||
|
||||
let host = split
|
||||
.next()
|
||||
.ok_or_else(|| io::Error::new(io::ErrorKind::InvalidInput, "Missing port"))?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue