mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Fix clippy suggestion in UIThreadInner::new
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
d0129b3bef
commit
584b61144e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ struct UIThreadInner {
|
|||
impl UIThreadInner {
|
||||
fn new() -> Self {
|
||||
// Set it to a large enough number so it will never block.
|
||||
let (request_tx, mut request_rx) = mpsc_sync::sync_channel(50);
|
||||
let (request_tx, request_rx) = mpsc_sync::sync_channel(50);
|
||||
let (confirm_tx, confirm_rx) = mpsc::channel(10);
|
||||
|
||||
spawn_blocking(move || {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue