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)).
This commit is contained in:
Jacob Pratt 2024-12-20 01:36:46 -05:00 committed by GitHub
commit 58ac00f585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available