Skip to content

Commit

Permalink
syntax in build.zig example doc
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoshwolfe committed Jul 2, 2018
1 parent e833a5a commit 0206b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/langref.html.in
Expand Up @@ -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);
Expand Down

0 comments on commit 0206b76

Please sign in to comment.