# update charToDigit to take advantage of switch syntax · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1826a961608037405237f12df5aec94f8f5f3a10)

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

Visibility: public

Requested revision: 1826a961608037405237f12df5aec94f8f5f3a10

Requested commit: 1826a961608037405237f12df5aec94f8f5f3a10

Commit: 1826a961608037405237f12df5aec94f8f5f3a10

Tree: 8d0ca37dd8162bab39d9c648294176ab96e10a41

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
update charToDigit to take advantage of switch syntax

```

## Parents

- [0b34439c1f380a1a9e26d219550a1cfd31fa698e](https://git.cafe/gitcafe/zig/commit/0b34439c1f380a1a9e26d219550a1cfd31fa698e?format=markdown)

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