Format let-else statements
This commit is contained in:
parent
732af201dc
commit
404f76739c
28 changed files with 210 additions and 109 deletions
|
@ -885,7 +885,9 @@ impl ProjectSearchView {
|
|||
if !dir_entry.is_dir() {
|
||||
return;
|
||||
}
|
||||
let Some(filter_str) = dir_entry.path.to_str() else { return; };
|
||||
let Some(filter_str) = dir_entry.path.to_str() else {
|
||||
return;
|
||||
};
|
||||
|
||||
let model = cx.add_model(|cx| ProjectSearch::new(workspace.project().clone(), cx));
|
||||
let search = cx.add_view(|cx| ProjectSearchView::new(model, cx));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue