Commit 0206b76351

Josh Wolfe <thejoshwolfe@gmail.com>
2018-07-02 04:03:51
syntax in build.zig example doc
1 parent e833a5a
Changed files (1)
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);