mirror of
https://github.com/ziglang/zig.git
synced 2026-01-07 14:03:26 +00:00
Remove reference to import type (#5279)
* Remove reference to import type * Improve language in `@This()` doc
This commit is contained in:
parent
ad43155f25
commit
eb4fa63d3d
@ -8189,9 +8189,7 @@ fn List(comptime T: type) type {
|
||||
{#code_end#}
|
||||
<p>
|
||||
When {#syntax#}@This(){#endsyntax#} is used at global scope, it returns a reference to the
|
||||
current import. There is a proposal to remove the import type and use an empty struct
|
||||
type instead. See
|
||||
<a href="https://github.com/ziglang/zig/issues/1047">#1047</a> for details.
|
||||
struct that corresponds to the current file.
|
||||
</p>
|
||||
{#header_close#}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user