# Fix missing \`\!void\` in std.MultiArrayList · gitcafe/zig

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

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

Visibility: public

Requested revision: 144e36770ed7d7e1ddbcae61742cf76bfb8b0e41

Requested commit: 144e36770ed7d7e1ddbcae61742cf76bfb8b0e41

Commit: 144e36770ed7d7e1ddbcae61742cf76bfb8b0e41

Tree: 0e34dba84197758bc67c69d52f5eab40530ad636

Author: Jarred Sumner

Committer: GitHub

## Message

````
Fix missing `!void` in std.MultiArrayList

Calling `insert` on a `std.MultiArrayList` currently fails with a compiler error due to using a `try` without the `!` annotation on the return type

```zig
this.list.insert(allocator, 0, listener);
```

```zig
/Users/jarred/Build/zig/lib/std/multi_array_list.zig:192:13: error: expected type 'void', found '@typeInfo(@typeInfo(@TypeOf(std.multi_array_list.MultiArrayList(src.javascript.jsc.node.types.Listener).ensureUnusedCapacity)).Fn.return_type.?).ErrorUnion.error_set'
            try self.ensureUnusedCapacity(gpa, 1);
```
````

## Parents

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

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