diff options
| author | Michael Goulet <michael@errs.io> | 2022-05-05 19:34:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-05 19:34:23 -0700 |
| commit | ef949daf036b77795ee03c4ec470713ddd18ff07 (patch) | |
| tree | 98f6ba958de6566daab2bdbfe95e5940cfee07aa /tests/rustdoc-js-std/reference-shrink.js | |
| parent | 87ad928c1598116b104525f2efc29198e39e42c7 (diff) | |
| parent | 9b36a4783101c86a7b6597804e59dae076459653 (diff) | |
| download | rust-ef949daf036b77795ee03c4ec470713ddd18ff07.tar.gz rust-ef949daf036b77795ee03c4ec470713ddd18ff07.zip | |
Rollup merge of #96639 - adpaco-aws:fix-offset-from-typo, r=scottmcm
Fix typo in `offset_from` documentation Small fix for what I think is a typo in the `offset_from` documentation. Someone reading this may understand that the distance in bytes is obtained by dividing the distance by `mem::size_of::<T>()`, but here we just want to define "units of T" in terms of bytes (i.e., units of T == bytes / `mem::size_of::<T>()`).
Diffstat (limited to 'tests/rustdoc-js-std/reference-shrink.js')
0 files changed, 0 insertions, 0 deletions
