{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihp7yosd6byxqzmqtfvi32kp36t2g7vssarvxklwpepmnwfilp5ty",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mmnl4zlmuvx2"
  },
  "path": "/t/what-is-allocator-by-ref-for/24356#post_3",
  "publishedAt": "2026-05-25T03:10:30.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "That doesn't really explain much. The iterator by_ref has all the same oddities. It seems to do nothing other than return a simple borrow and its documentation also talks about returning an adapter of some kind, which it does not seem to do.\n\nAre these just convenience methods with oddly worded documentation?",
  "title": "What is Allocator::by_ref for?"
}