Remove small pieces of unused code
This commit is contained in:
parent
ce6ca13b13
commit
dd31b870c3
10 changed files with 6 additions and 31 deletions
|
@ -60,10 +60,8 @@ impl Worktree {
|
|||
tree.0.write().scanning = true;
|
||||
|
||||
let tree = tree.clone();
|
||||
let (tx, rx) = smol::channel::bounded(1);
|
||||
|
||||
let task = ctx.background_executor().spawn(async move {
|
||||
let _ = tx.send(tree.scan_dirs()?).await;
|
||||
tree.scan_dirs()?;
|
||||
Ok(())
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue