{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreif3bwz43i7qusjyv74cahxqp3ucqn6qpzvotqj3m3exn27r42hu7u",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3miprojv2b232"
  },
  "path": "/t/add-new-reserved-lifetime-owned/24129#post_5",
  "publishedAt": "2026-04-04T10:57:51.000Z",
  "site": "https://internals.rust-lang.org",
  "tags": [
    "Rust Playground"
  ],
  "textContent": "In this particular case yes, however consider this example with general clone_with_string_type function that accepts another generic parameter for new string type Rust Playground, in this case we have to specify lifetimes because new string type (NS) can potentially also be a reference. So we can have multiple conversions: &'static str -> String, &'buffer str -> String, &'static str -> &'buffer str, etc.",
  "title": "Add new reserved lifetime: 'owned"
}