Skip to content

x/website: go1.20 docs refer to strings.Clone as new #58234

@benpbrown

Description

@benpbrown

What did you do?

Visited https://go.dev/doc/go1.20

What did you expect to see?

No reference to strings.Clone as being new. I believe it was introduced in Go 1.18 for strings (https://go.dev/doc/go1.18) (but in 1.20 for bytes 🙂 )

What did you see instead?

The following reference to a new function: The new [Clone](https://go.dev/pkg/strings/#Clone) function allocates a copy of a string.

Metadata

Metadata

Assignees

Labels

DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.website

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions