]> Cypherpunks repositories - gostls13.git/commit
testing: fix reference to B.N in docstring
authorKir Kolyshkin <kolyshkin@gmail.com>
Tue, 21 Jan 2025 01:38:26 +0000 (17:38 -0800)
committerAlan Donovan <adonovan@google.com>
Tue, 21 Jan 2025 12:36:54 +0000 (04:36 -0800)
commit3aa7c5ef01e147fb482f4b3e79c6f875a4b1b9fb
tree71c4acd626c726c64891bb95d29311c214d7fe29
parent3f4164f508b8148eb526fc096884dba2609f5835
testing: fix reference to B.N in docstring

Currently, a documentation reference to a struct member (such as [B.N])
does not result in it being rendered as a link, and thus the square
brackets remain in the rendered documentation which is mildly confusing.

The issue can be seen at
https://pkg.go.dev/testing@master#hdr-b_N_style_benchmarks

Remove the square brackets to fix.

Change-Id: Id374fd2085bd511018220c5d663650f89672302e
Reviewed-on: https://go-review.googlesource.com/c/go/+/643496
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/testing/testing.go