Remove stray dbg! calls
This commit is contained in:
parent
5941f5fca0
commit
9602bc6f8e
2 changed files with 2 additions and 2 deletions
|
@ -711,7 +711,7 @@ impl Worktree {
|
||||||
let mut primary_diagnostic_group_ids = HashMap::default();
|
let mut primary_diagnostic_group_ids = HashMap::default();
|
||||||
let mut sources_by_group_id = HashMap::default();
|
let mut sources_by_group_id = HashMap::default();
|
||||||
let mut supporting_diagnostic_severities = HashMap::default();
|
let mut supporting_diagnostic_severities = HashMap::default();
|
||||||
for diagnostic in dbg!(¶ms.diagnostics) {
|
for diagnostic in ¶ms.diagnostics {
|
||||||
let source = diagnostic.source.as_ref();
|
let source = diagnostic.source.as_ref();
|
||||||
let code = diagnostic.code.as_ref().map(|code| match code {
|
let code = diagnostic.code.as_ref().map(|code| match code {
|
||||||
lsp::NumberOrString::Number(code) => code.to_string(),
|
lsp::NumberOrString::Number(code) => code.to_string(),
|
||||||
|
|
|
@ -524,7 +524,7 @@ impl ProjectPanel {
|
||||||
if is_dir {
|
if is_dir {
|
||||||
cx.dispatch_action(ToggleExpanded(entry))
|
cx.dispatch_action(ToggleExpanded(entry))
|
||||||
} else {
|
} else {
|
||||||
cx.dispatch_action(Open(dbg!(entry)))
|
cx.dispatch_action(Open(entry))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.with_cursor_style(CursorStyle::PointingHand)
|
.with_cursor_style(CursorStyle::PointingHand)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue