about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2024-05-31 16:56:04 -0700
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-06-07 17:48:47 +0200
commit790b7e9cbfb6aa591520856b018402d62eceb690 (patch)
tree94b4e3e2e3c3cdeef7ef26ca64d9a2caa87a0790 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent46d2aa5a8f8d09d4789d2af01a6acdb3ba9e41a4 (diff)
downloadrust-790b7e9cbfb6aa591520856b018402d62eceb690.tar.gz
rust-790b7e9cbfb6aa591520856b018402d62eceb690.zip
rustdoc: Remove `DoctestVisitor::get_line`
This was used to get the line number of the first line from the current
docstring, which was then used together with an offset within the
docstring. It's simpler to just pass the offset to the visitor and have
it do the math because it's clearer and this calculation only needs to
be done in one place (the Rust doctest visitor).
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions