# Autodoc: only group structs under "namespaces" · gitcafe/zig

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

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

Visibility: public

Requested revision: 2511830442fd96d04f578f2c4251b1994f08c994

Requested commit: 2511830442fd96d04f578f2c4251b1994f08c994

Commit: 2511830442fd96d04f578f2c4251b1994f08c994

Tree: ac06639737e8e3edc8fcb30a95fe2a85efefc5bc

Author: Ian Johnson

Committer: Andrew Kelley

## Message

```
Autodoc: only group structs under "namespaces"

The old heuristic of checking only for the number of fields has the
downside of classifying all opaque types, such as `std.c.FILE`, as
"namespaces" rather than "types".

```

## Parents

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

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