diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2024-05-31 16:56:04 -0700 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-06-07 17:48:47 +0200 |
| commit | 790b7e9cbfb6aa591520856b018402d62eceb690 (patch) | |
| tree | 94b4e3e2e3c3cdeef7ef26ca64d9a2caa87a0790 /tests/ui/patchable-function-entry/patchable-function-entry-flags.stderr | |
| parent | 46d2aa5a8f8d09d4789d2af01a6acdb3ba9e41a4 (diff) | |
| download | rust-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/ui/patchable-function-entry/patchable-function-entry-flags.stderr')
0 files changed, 0 insertions, 0 deletions
