Skip to content

Fix “deprecated” comments.#4423

Merged
fmeum merged 1 commit intobazel-contrib:masterfrom
phst:deprecated
Aug 12, 2025
Merged

Fix “deprecated” comments.#4423
fmeum merged 1 commit intobazel-contrib:masterfrom
phst:deprecated

Conversation

@phst
Copy link
Copy Markdown
Contributor

@phst phst commented Aug 12, 2025

A “deprecated” comment must be a separate paragraph, and there must be at least one other paragraph in the docstring. Otherwise pkg.go.dev won’t mark the symbol as deprecated.

What type of PR is this?

Documentation

What does this PR do? Why is it needed?

Correctly marks the deprecated symbols as deprecated on pkg.go.dev.

Which issues(s) does this PR fix?

Fixes #

Other notes for review

A “deprecated” comment must be a separate paragraph, and there must be at least
one other paragraph in the docstring.  Otherwise pkg.go.dev won’t mark the
symbol as deprecated.
@fmeum fmeum merged commit 22ded4d into bazel-contrib:master Aug 12, 2025
1 check passed
@phst phst deleted the deprecated branch August 12, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants