authorgravatar for github-lann@lannbox.comLann <github-lann@lannbox.com> 2020-05-05 19:13:35-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-05-05 19:13:35-04:00
logeb4fa63d3d7f7bb04ce20f0545d5d4f14aa05c89
treef645770193cca0d3dff7679b1221013826df3e2d
parentad43155f256cd9c9157e409a1158d0e6008bf6eb
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Remove reference to import type (#5279)

* Remove reference to import type * Improve language in `@This()` doc

1 files changed, 1 insertions(+), 3 deletions(-)

doc/langref.html.in+1-3
......@@ -8189,9 +8189,7 @@ fn List(comptime T: type) type {
81898189 {#code_end#}
81908190 <p>
81918191 When {#syntax#}@This(){#endsyntax#} is used at global scope, it returns a reference to the
8192 current import. There is a proposal to remove the import type and use an empty struct
8193 type instead. See
8194 <a href="https://github.com/ziglang/zig/issues/1047">#1047</a> for details.
8192 struct that corresponds to the current file.
81958193 </p>
81968194 {#header_close#}
81978195