# Clamp for all UTF-16 to offset conversions which used to use \`ToOffset\` · gitcafe/zed

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

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

Visibility: public

Requested revision: bb32599dedea130074c358dcce95f5458bd746be

Requested commit: bb32599dedea130074c358dcce95f5458bd746be

Commit: bb32599dedea130074c358dcce95f5458bd746be

Tree: 210b970ae9ffb67a9aa65e0ba4b91818a9b61ea5

Author: Julia

Committer: Julia

## Message

```
Clamp for all UTF-16 to offset conversions which used to use `ToOffset`

```

## Parents

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

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