)]}'
{
  "commit": "a1c73fa1d69af2f29583ae82742e4656bab992b4",
  "tree": "5ed1084844af5e1fa7ae548a279790761eb44658",
  "parents": [
    "3e1421c044bc1455fd35e9d577622430981ca6d4"
  ],
  "author": {
    "name": "Matthew Hughes",
    "email": "matthewhughes934@gmail.com",
    "time": "Mon May 25 21:12:19 2026 +0100"
  },
  "committer": {
    "name": "Matthew Hughes",
    "email": "matthewhughes934@gmail.com",
    "time": "Tue Sep 15 19:48:33 2026 +0100"
  },
  "message": "Teach `last_line_width` about `config.tab_spaces`\n\nSo that the line width is calculated as the rendered width of any\ntrailing space plus the unicode width of the rest of the string.\nThat is, for example, so that the line:\n\n    \\s\\s\\s\\ssome_func();\n\nWould have the same length as\n\n    \\tsome_func();\n\nAssuming `tab_spaces\u003d4`.\n\nThis fixes a issue where the formatting a collection of binary\noperations would depend on whether hard of soft tabs were used.\nSpecifically in the change to the call of `last_line_width` at line 135\nof `src/pairs.rs`: the inconsistency above meant under some conditions\nwhen using hard tabs we could satisfy the condition on that line and\ndrop into the block to snuggle the lines together, where with soft tabs\na different width would be computed and we\u0027d avoid snuggling them. A\ntest has been added covering this case.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "45d9d488c76ba8275aae24c1c6bcce64ae3bd7a5",
      "old_mode": 33188,
      "old_path": "src/chains.rs",
      "new_id": "ab407bdadae5462b4d0a55953c058f3aff04e8b1",
      "new_mode": 33188,
      "new_path": "src/chains.rs"
    },
    {
      "type": "modify",
      "old_id": "551e2e40425fd4b1a27217305e2de5a1d34719d3",
      "old_mode": 33188,
      "old_path": "src/closures.rs",
      "new_id": "c3340ae3e8bf946460eb805cd2062121a3d5b624",
      "new_mode": 33188,
      "new_path": "src/closures.rs"
    },
    {
      "type": "modify",
      "old_id": "4162b5f0db8249b66fbed3fc258e7b8991685611",
      "old_mode": 33188,
      "old_path": "src/comment.rs",
      "new_id": "43e8e64a7a9a4cf07297a39358ae914550ed33b3",
      "new_mode": 33188,
      "new_path": "src/comment.rs"
    },
    {
      "type": "modify",
      "old_id": "944367ce12378361970c6d0f236993c8c9b17f81",
      "old_mode": 33188,
      "old_path": "src/expr.rs",
      "new_id": "f0e56ffb8ea1a8accca568e65173147dbfac9bdb",
      "new_mode": 33188,
      "new_path": "src/expr.rs"
    },
    {
      "type": "modify",
      "old_id": "37dc231c3c45ad28d2586ed3267480fe718c1a19",
      "old_mode": 33188,
      "old_path": "src/items.rs",
      "new_id": "c5b09002644cd6da9940026fc28a880123ee003c",
      "new_mode": 33188,
      "new_path": "src/items.rs"
    },
    {
      "type": "modify",
      "old_id": "9d811e5d9b5e76fdc95b41961c21f018987e5b5c",
      "old_mode": 33188,
      "old_path": "src/lists.rs",
      "new_id": "f567a191e1f900890ff7eeeb47656b489afea265",
      "new_mode": 33188,
      "new_path": "src/lists.rs"
    },
    {
      "type": "modify",
      "old_id": "7eb63d67580a31cf077a1bbdf832b72c23b5e6c6",
      "old_mode": 33188,
      "old_path": "src/macros.rs",
      "new_id": "9a88569b7909bf9ba540071aa9ce84850fc2f6a9",
      "new_mode": 33188,
      "new_path": "src/macros.rs"
    },
    {
      "type": "modify",
      "old_id": "0242094a75269874f55d8031eb4e6d1a623aaab0",
      "old_mode": 33188,
      "old_path": "src/missed_spans.rs",
      "new_id": "94ca9238ac0450901e696f1de4c1cc865350d9c9",
      "new_mode": 33188,
      "new_path": "src/missed_spans.rs"
    },
    {
      "type": "modify",
      "old_id": "4230c89b57b483c0f86186c2ef2ff9041755b166",
      "old_mode": 33188,
      "old_path": "src/overflow.rs",
      "new_id": "9e9854278cff3342666148249dd7ca8698e362ed",
      "new_mode": 33188,
      "new_path": "src/overflow.rs"
    },
    {
      "type": "modify",
      "old_id": "48948b88b3be226de972f1fe10f29d5a81e282b1",
      "old_mode": 33188,
      "old_path": "src/pairs.rs",
      "new_id": "b4e390f206167894b24ad2e6c6e38ea802e00c01",
      "new_mode": 33188,
      "new_path": "src/pairs.rs"
    },
    {
      "type": "modify",
      "old_id": "59c445f904b9ec0b43c2d4be96b1d4abcd1b7ef2",
      "old_mode": 33188,
      "old_path": "src/string.rs",
      "new_id": "af90bb055c85f8bc9462441a5a0736be0b6a5923",
      "new_mode": 33188,
      "new_path": "src/string.rs"
    },
    {
      "type": "modify",
      "old_id": "b8e072c7c69565d3f70fd0396ffb783939cc7059",
      "old_mode": 33188,
      "old_path": "src/types.rs",
      "new_id": "e2c92e58062ae10bd215292391002e329949f9b2",
      "new_mode": 33188,
      "new_path": "src/types.rs"
    },
    {
      "type": "modify",
      "old_id": "a3f2d8b1534b5345d588596f61ebbde08bdb6713",
      "old_mode": 33188,
      "old_path": "src/utils.rs",
      "new_id": "6f9fa7ff7024f66bff7965da3cc15fb534d98532",
      "new_mode": 33188,
      "new_path": "src/utils.rs"
    },
    {
      "type": "modify",
      "old_id": "b3ba0f2df2cdb214ea7ab873838e8d6d53ab9c52",
      "old_mode": 33188,
      "old_path": "src/visitor.rs",
      "new_id": "5043038d4fc097988fe4b52b6f33fc5303375010",
      "new_mode": 33188,
      "new_path": "src/visitor.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c83dc3637b87b71ab4beaea8c2c625aaf8f52bf7",
      "new_mode": 33188,
      "new_path": "tests/target/issue_6859_hard_tab_breaks.rs"
    }
  ]
}
