Skip to content

x/website: invalid syntax in example image on doc/fuzz #50142

@fzipp

Description

@fzipp

The code in the example image on doc/fuzz is not valid syntax (func is missing).

https://go.dev/doc/fuzz/example.png

example

What did you expect to see?

f.Fuzz(func(t *testing.T, i int, s string) {
	// ...
})

What did you see instead?

f.Fuzz(t *testing.T, i int, s string) {
	// ...
}

cc @katiehockman

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions