aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/test_data/highlight_doctest.html
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-22 19:22:36 +0100
committerAleksey Kladov <[email protected]>2021-06-22 19:26:07 +0100
commit7be2d2f008595114e19aad0aa0608ddedfe3edf7 (patch)
tree61b75baa49f6b88c24fbda5f44ac734fed1f7d98 /crates/ide/src/syntax_highlighting/test_data/highlight_doctest.html
parent9239943b84ec2bd687c4c80d2c3a0df4f8caf31c (diff)
internal: remove one more accidentally quadratic code-path
Definition::visibility was implemented in a rather roundabout way -- by asking the parent module about the effective visibility. This is problematic for a couple of reasons: * first, it doesn't work for local items * second, asking module about visibility of a child is a linear operation (that's a problem in itself, tracked in #9378) Instead, lets ask the declared visibility directly, we have all the code for it, and need only to actually us it.
Diffstat (limited to 'crates/ide/src/syntax_highlighting/test_data/highlight_doctest.html')
0 files changed, 0 insertions, 0 deletions