about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-07-13 15:02:23 +0100
committerDavid Wood <david.wood@huawei.com>2022-07-20 14:53:01 +0100
commit97edb9f336e98c0597210092e2e0ef0ee1576e24 (patch)
tree5cdc7471302c2753d237ddefdf6f594f3c347301 /src/test/codegen/src-hash-algorithm
parent224aec213d62aa11758c864c871c341b7e7e7681 (diff)
downloadrust-97edb9f336e98c0597210092e2e0ef0ee1576e24.tar.gz
rust-97edb9f336e98c0597210092e2e0ef0ee1576e24.zip
span: add `span_extend_to_line` helper
Adds a simple helper function to the `SourceMap` for extending a `Span`
to encompass the entire line it is on - useful for suggestions where
removing a line is the suggested action.

Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions