Sfoglia il codice sorgente

Whitelist a clippy error.

Jing Yang 5 anni fa
parent
commit
9932ca6fec
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/client.rs

+ 1 - 0
src/client.rs

@@ -76,6 +76,7 @@ impl Client {
         })?;
         mark_trace!(local_trace, enqueue);
 
+        #[allow(clippy::let_and_return)]
         let ret = rx.await.map_err(|e| {
             std::io::Error::new(
                 // The network closed our connection. The server might not even