diff options
| author | Josh Wolfe <thejoshwolfe@gmail.com> | 2018-07-01 22:03:51 -0400 |
|---|---|---|
| committer | Josh Wolfe <thejoshwolfe@gmail.com> | 2018-07-01 22:03:51 -0400 |
| commit | 0206b76351a50e154181d5bff1d134656e412bfb (patch) | |
| tree | 048f862704282c319922d8431dda8a4bff7a8f79 /doc | |
| parent | e833a5a24c1ad58af0bb56e89dbcc0b9ec38c020 (diff) | |
| download | zig-0206b76351a50e154181d5bff1d134656e412bfb.tar.gz zig-0206b76351a50e154181d5bff1d134656e412bfb.zip | |
syntax in build.zig example doc
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 2 |
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); |
