Skip to content

std docs incorrectly renders trait methods as const #143071

Closed
@mejrs

Description

@mejrs

Location

Image

Summary

https://doc.rust-lang.org/nightly/std/os/windows/ffi/struct.EncodeWide.html

The clone_from is marked const for seemingly every type that satisfies ~const Destruct

Metadata

Metadata

Assignees

Labels

A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions