zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit eb4fa63d3d7f7bb04ce20f0545d5d4f14aa05c89 (tree)
parent ad43155f256cd9c9157e409a1158d0e6008bf6eb
Author: Lann <github-lann@lannbox.com>
Date:   Tue,  5 May 2020 19:13:35 -0400

Remove reference to import type (#5279)

* Remove reference to import type
* Improve language in `@This()` doc
Diffstat:
Mdoc/langref.html.in | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -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#}