Skip to content

runtime/pprof: Undefined type referred to in function comment #20905

Closed
@fawick

Description

@fawick

What version of Go are you using (go version)?

1.9beta

What did you do?

Read documentation of runtime/pprof for Profiler Labels (http://tip.golang.org/pkg/runtime/pprof/#Labels)

What did you expect to see?

The function comment for http://tip.golang.org/pkg/runtime/pprof/#Labels
should describe the return value as type LabelSet.

What did you see instead?

The typename returned by http://tip.golang.org/pkg/runtime/pprof/#Labels
is LabelSet, but the documentation string refers to it as LabelList.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.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