Skip to content

PinDerefMutHelper should not show up in impl DerefMut for Pin #147998

@Darksonn

Description

@Darksonn

Location (URL)

https://doc.rust-lang.org/nightly/std/pin/struct.Pin.html#impl-DerefMut-for-Pin%3CPtr%3E

Summary

The PR #145608 explicitly contains measures using #[cfg(doc)] to ensure that the docs are rendered in a certain way. This works locally, as can be seen from the locally generated docs in #145608 (comment), but on doc.rust-lang.org this does not seem to apply.

Perhaps --cfg doc is not applied when building docs for the website, even though they are applied locally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-pinArea: PinC-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions