# std: eliminate some uses of \`usingnamespace\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 8944935499ee6cdbce6e0384efb32e75753adcbd

Requested commit: 8944935499ee6cdbce6e0384efb32e75753adcbd

Commit: 8944935499ee6cdbce6e0384efb32e75753adcbd

Tree: 11394e6151a7ba58156d2f69e30f9aa107303b62

Author: mlugg

Committer: Matthew Lugg

## Message

```
std: eliminate some uses of `usingnamespace`

This eliminates some simple usages of `usingnamespace` in the standard
library. This construct may in future be removed from the language, and
is generally an inappropriate way to formulate code. It is also
problematic for incremental compilation, which may not initially support
projects using it.

I wasn't entirely sure what the appropriate namespacing for the types in
`std.os.uefi.tables` would be, so I ofted to preserve the current
namespacing, meaning this is not a breaking change. It's possible some
of the moved types should instead be namespaced under `BootServices`
etc, but this can be a future enhancement.

```

## Parents

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

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