# Use \`u64\` instead of \`usize\` in \`ElementId\` \(\#29493\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/60ec55b1799d5d898921a230464ae361bfae85d9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 60ec55b1799d5d898921a230464ae361bfae85d9

Requested commit: 60ec55b1799d5d898921a230464ae361bfae85d9

Commit: 60ec55b1799d5d898921a230464ae361bfae85d9

Tree: 38f92ace258cb3a8c7de8c168abfbdda2479adb3

Author: Michael Sloan

Committer: GitHub

## Message

```
Use `u64` instead of `usize` in `ElementId` (#29493)

Truncation to a 32 bit `usize` could cause two distinct IDs to be
considered the same element.

Release Notes:

- N/A
```

## Parents

- [bb7a5b13df57209a36934c34f786902b30a437f8](https://git.cafe/gitcafe/zed/commit/bb7a5b13df57209a36934c34f786902b30a437f8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/60ec55b1799d5d898921a230464ae361bfae85d9?format=markdown)
