Remove reference to import type (#5279)

* Remove reference to import type
* Improve language in `@This()` doc
This commit is contained in:
Lann 2020-05-05 19:13:35 -04:00 committed by GitHub
parent ad43155f25
commit eb4fa63d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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#}