zig

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

commit 0206b76351a50e154181d5bff1d134656e412bfb (tree)
parent e833a5a24c1ad58af0bb56e89dbcc0b9ec38c020
Author: Josh Wolfe <thejoshwolfe@gmail.com>
Date:   Sun,  1 Jul 2018 22:03:51 -0400

syntax in build.zig example doc

Diffstat:
Mdoc/langref.html.in | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -6067,7 +6067,7 @@ pub const TypeInfo = union(TypeId) { {#code_begin|syntax#} const Builder = @import("std").build.Builder; -pub fn build(b: &Builder) void { +pub fn build(b: *Builder) void { const exe = b.addExecutable("example", "example.zig"); exe.setBuildMode(b.standardReleaseOptions()); b.default_step.dependOn(&exe.step);