Make constructors error less
This commit is contained in:
parent
f08c251bd1
commit
9451920c52
3 changed files with 4 additions and 4 deletions
|
|
@ -257,7 +257,7 @@ impl CoveConnMt {
|
|||
timeout: Duration,
|
||||
) -> Result<(ConnTx, ConnRx, ConnMaintenance), conn::Error> {
|
||||
let stream = tokio_tungstenite::connect_async(url).await?.0;
|
||||
let conn = conn::new(stream, timeout)?;
|
||||
let conn = conn::new(stream, timeout);
|
||||
Ok(conn)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue