From eb4fa63d3d7f7bb04ce20f0545d5d4f14aa05c89 Mon Sep 17 00:00:00 2001 From: Lann Date: Tue, 5 May 2020 19:13:35 -0400 Subject: [PATCH] Remove reference to import type (#5279) * Remove reference to import type * Improve language in `@This()` doc --- doc/langref.html.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 6026912893d48ec5641045dc764378e8908191a5..2103a0e9e7cd652eab8dea2365678165289fecfd 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -8189,9 +8189,7 @@ fn List(comptime T: type) type { {#code_end#}

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 - #1047 for details. + struct that corresponds to the current file.

{#header_close#} -- 2.54.0