Skip to content

Minor typo in #[doc] attribute documentation #61197

Closed
@OptimisticPeach

Description

@OptimisticPeach

Hi there!
I was reading the #[doc] documentation, and came across the following typo:

#[doc(inline)}

There is a curly brace instead of a square bracket. It can be found at the very bottom of #[doc(no_inline)]/#[doc(inline)].

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first 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