Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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