# langref: make more examples testable · gitcafe/zig

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

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

Visibility: public

Requested revision: 5894be94c8326dc1c32fd528f002911c04af69c9

Requested commit: 5894be94c8326dc1c32fd528f002911c04af69c9

Commit: 5894be94c8326dc1c32fd528f002911c04af69c9

Tree: a250a3d43b9ed2af0f9c7f79efd392d40e7f8fc9

Author: Manlio Perillo

Committer: Veikka Tuominen

## Message

```
langref: make more examples testable

Some examples using {#syntax_block|zig|...#} either have a valid syntax
or it is easy to make the syntax valid.  Update these example to use
{#code_begin|syntax|...#}.

Remove extra whitespace in the error_union_parsing_u64.zig example.

Replace size_t with usize in the call_malloc_from_zig.zig example.

```

## Parents

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

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