mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-03 17:44:30 +00:00
Inline clone
This commit is contained in:
parent
0cc5e8f742
commit
3803eb85a5
1 changed files with 1 additions and 1 deletions
|
@ -105,13 +105,13 @@ impl Worktree {
|
|||
let id = self.push_dir(None, name, ino, is_symlink, is_ignored);
|
||||
let (tx, rx) = channel::unbounded();
|
||||
|
||||
let tx_ = tx.clone();
|
||||
tx.send(Ok(DirToScan {
|
||||
id,
|
||||
path,
|
||||
relative_path,
|
||||
ignore: Some(ignore),
|
||||
dirs_to_scan: tx_,
|
||||
dirs_to_scan: tx.clone(),
|
||||
}))
|
||||
.unwrap();
|
||||
drop(tx);
|
||||
|
|
Loading…
Reference in a new issue