{
  "id": "rust-string-vs-str-table",
  "kind": "table",
  "slug": "rust-string-vs-str",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/rust-string-vs-str/",
  "title": "The core language string type is the string slice str, usually seen as &str. (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "The core language string type is the string slice str, usually seen as &str.",
      "source_id": "S1"
    },
    {
      "topic": "C2",
      "fact": "String is a growable, mutable, owned, UTF-8 encoded type from the standard library.",
      "source_id": "S1"
    },
    {
      "topic": "C3",
      "fact": "Both String and string slices are UTF-8 encoded.",
      "source_id": "S1"
    },
    {
      "topic": "C4",
      "fact": "String is heap allocated, growable, and not null terminated.",
      "source_id": "S2"
    }
  ],
  "related_slugs": [
    "rust-generics",
    "rust-hashmap",
    "rust-ownership-borrowing"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT OR Apache-2.0 (The Rust Programming Language); MIT OR Apache-2.0 (Rust by Example); prose restates cited source lines in own words",
  "as_of": "2026-11-23",
  "status": "draft-20261123-cov-02",
  "note": "Restated from the note; check the note sources before relying on a value."
}
