Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
fzipp opened this issue Dec 13, 2021 · 3 comments
Closed

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

fzipp opened this issue Dec 13, 2021 · 3 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@fzipp
Copy link
Contributor

fzipp commented Dec 13, 2021

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

@gopherbot gopherbot added this to the Unreleased milestone Dec 13, 2021
@katiehockman
Copy link
Contributor

Woops! Thanks. Will fix.

@katiehockman katiehockman added the NeedsFix The path to resolution is known, but the work has not been done. label Dec 13, 2021
@katiehockman katiehockman self-assigned this Dec 13, 2021
@katiehockman katiehockman modified the milestones: Unreleased, go1.18 Dec 13, 2021
@gopherbot
Copy link

Change https://golang.org/cl/371394 mentions this issue: _content/doc/fuzz: fix example

@fzipp
Copy link
Contributor Author

fzipp commented Dec 14, 2021

Thank you

passionSeven added a commit to passionSeven/website that referenced this issue Oct 18, 2022
Also fix the formatting of the doc.

For golang/go#48255
Fixes golang/go#50142

Change-Id: I24fdd5ae623fc7653c5034078d7cc080f2011aa9
Reviewed-on: https://go-review.googlesource.com/c/website/+/371394
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: DO NOT USE <katiehockman@google.com>
Run-TryBot: DO NOT USE <katiehockman@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
@golang golang locked and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants