about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-01-03 17:09:13 +0100
committerGitHub <noreply@github.com>2021-01-03 17:09:13 +0100
commit539c435b509563956bc34c3bc457528483f383a0 (patch)
treece64551f02b93942fdf2d4ffeb77f8c605acc961 /src/librustdoc/html/static/source-script.js
parentff1f21a8fd19c847afa954c89cff5e356e1a9d8f (diff)
parent4d3227fe1c14c089afb6d2bfa266a78336bf4fc1 (diff)
downloadrust-539c435b509563956bc34c3bc457528483f383a0.tar.gz
rust-539c435b509563956bc34c3bc457528483f383a0.zip
Rollup merge of #80646 - bugadani:meta, r=petrochenkov
Clean up in `each_child_of_item`

This PR hopes to eliminate some of the surprising elements I encountered while reading the function.
- `macros_only` is checked against inside the loop body, but if it is `true`, the loop is skipped anyway
- only query `span` when relevant
- no need to allocate attribute vector
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions