about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-01-11 13:50:00 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-01-11 16:55:10 +1100
commitf5c0cd0bd1c564985788fb72d73ee3c8d8beb1d7 (patch)
tree3535ecfde7ace5d980ef97c4c82a6944e0aa5f4e /tests/rustdoc-js-std/parser-slice-array.js
parent552bed8048d09fc313450f57430da29be94945f4 (diff)
downloadrust-f5c0cd0bd1c564985788fb72d73ee3c8d8beb1d7.tar.gz
rust-f5c0cd0bd1c564985788fb72d73ee3c8d8beb1d7.zip
Inline and remove three functions.
Each of these has a single call site: `source_file_to_parser`,
`try_file_to_source_file`, `file_to_source_file`. Having them separate
just makes the code longer and harder to read.

Also, `maybe_file_to_stream` doesn't need to be `pub`.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions