about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-12-20 01:36:46 -0500
committerGitHub <noreply@github.com>2024-12-20 01:36:46 -0500
commit1ec6d093b7595073bbaef66fcad8308221ac5dc8 (patch)
tree6e700a92802ffb5c83929d3e8b0c47f2cc4a0ef3 /compiler/rustc_hir_analysis/src
parent3cdc3b7e0b516791f4a95eac8a577c37fc75b6ca (diff)
parent3c8bfb7f7bc586afb597155184a14d1a4fe0d244 (diff)
downloadrust-1ec6d093b7595073bbaef66fcad8308221ac5dc8.tar.gz
rust-1ec6d093b7595073bbaef66fcad8308221ac5dc8.zip
Rollup merge of #132830 - wr7:substr_range_documentation, r=tgross35
Rename `elem_offset` to `element_offset`

Tracking issue: #126769

Renames `slice::elem_offset` to `slice::element_offset` and improves the documentation of it and its related methods.

The current documentation can be misinterpreted (as explained [here](https://github.com/rust-lang/rust/issues/126769#issuecomment-2453363897)).
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions