# langref: add missing return types to builtin functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 8642770eff4f1770aa5de88907946c60fe5ff0d8

Requested commit: 8642770eff4f1770aa5de88907946c60fe5ff0d8

Commit: 8642770eff4f1770aa5de88907946c60fe5ff0d8

Tree: a376ed3466dd10ccb8789180d3793e1dc51a465b

Author: r00ster91

Committer: Veikka Tuominen

## Message

```
langref: add missing return types to builtin functions

This should add all remaining missing return types to all builtin
functions.
For @clz, @ctz, and @popCount it uses anytype for the lack of a better
alternative. We already use this return type for other builtin functions in the langref
to indicate that the type is not always the same.
It is not possible to use anytype as the return type for regular
functions but builtin functions are special.

```

## Parents

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

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