)]}'
{
  "commit": "9e00ef62c1608741e309eb10d4d934df8d2aa476",
  "tree": "cf51ccc2ac42eddbe9fc8ca83a9eba2bb0afe2c7",
  "parents": [
    "b13550bba6f0f0f38c5941090691eb1dbcbccbed"
  ],
  "author": {
    "name": "Johnathan Van Why",
    "email": "jrvanwhy@google.com",
    "time": "Fri Aug 07 14:43:47 2020 -0700"
  },
  "committer": {
    "name": "Johnathan Van Why",
    "email": "jrvanwhy@google.com",
    "time": "Fri Aug 07 14:43:47 2020 -0700"
  },
  "message": "Remove Allowed::replace and Allowed::take.\n\nWhen I originally implemented Allowed, I made it work with non-Copy types. Allowed::get cannot with with non-Copy types, so I added Allowed::replace to allow client code to read a non-Copy type out of an Allowed buffer. However, during the PR review we changed Allowed to only contain Copy types. Because of this change, I don\u0027t anticipate Allowed::replace (and Allowed::take which is built on top of Allowed::replace) seeing much use. This PR removes Allowed::replace and Allowed::take to reduce the amount of `unsafe` in libtock_platferm.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d66c2b28016fd117005782dfc0b627b04259e22",
      "old_mode": 33188,
      "old_path": "core/platform/src/allows/allowed.rs",
      "new_id": "386562fcafb19a22754aa599092878c275ffb1a0",
      "new_mode": 33188,
      "new_path": "core/platform/src/allows/allowed.rs"
    },
    {
      "type": "modify",
      "old_id": "f1f0c08332877830e0b9d0fc0a0b7420dfd380aa",
      "old_mode": 33188,
      "old_path": "core/platform/src/allows/allowed_tests.rs",
      "new_id": "1859dd1e2e0873ea8c43d0700c221644687fa4fa",
      "new_mode": 33188,
      "new_path": "core/platform/src/allows/allowed_tests.rs"
    }
  ]
}
