aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJosh Wolfe <thejoshwolfe@gmail.com>2018-07-01 22:03:51 -0400
committerJosh Wolfe <thejoshwolfe@gmail.com>2018-07-01 22:03:51 -0400
commit0206b76351a50e154181d5bff1d134656e412bfb (patch)
tree048f862704282c319922d8431dda8a4bff7a8f79 /doc
parente833a5a24c1ad58af0bb56e89dbcc0b9ec38c020 (diff)
downloadzig-0206b76351a50e154181d5bff1d134656e412bfb.tar.gz
zig-0206b76351a50e154181d5bff1d134656e412bfb.zip
syntax in build.zig example doc
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index dbb4ea9806..15e04459bd 100644
--- 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);