From d100a8e2dcc7aa599ec692b71bc5ea5094d73569 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Mon, 18 Mar 2024 22:15:06 +0100 Subject: [PATCH] langref: Rename std.fs.wasi.{PreopenList => Preopens} --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 7ffbcc0110..3c64e206b4 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -11471,7 +11471,7 @@ pub fn main() !void { 1: 123 2: hello{#end_shell_samp#}

A more interesting example would be extracting the list of preopens from the runtime. - This is now supported in the standard library via {#syntax#}std.fs.wasi.PreopenList{#endsyntax#}:

+ This is now supported in the standard library via {#syntax#}std.fs.wasi.Preopens{#endsyntax#}:

{#code_begin|exe|wasi_preopens#} {#target_wasi#} const std = @import("std");