Change language::anchor::min() to a constant
Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Antonio Scandurra
Nathan Sobo
parent
f6805eb802
commit
ab631cf6c3
@@ -278,8 +278,7 @@ impl ProjectDiagnosticsEditor {
|
||||
prev_excerpt_id = excerpt_id.clone();
|
||||
first_excerpt_id.get_or_insert_with(|| prev_excerpt_id.clone());
|
||||
group_state.excerpts.push(excerpt_id.clone());
|
||||
let header_position =
|
||||
(excerpt_id.clone(), language::Anchor::build_min());
|
||||
let header_position = (excerpt_id.clone(), language::Anchor::MIN);
|
||||
|
||||
if is_first_excerpt_for_group {
|
||||
is_first_excerpt_for_group = false;
|
||||
|
||||
Reference in New Issue
Block a user