From b1d0c5bfc737b614c77579c9ac53d6653a6ef6f5 Mon Sep 17 00:00:00 2001 From: Spencer Wilson <5624115+spencerwilson@users.noreply.github.com> Date: Wed, 24 May 2023 23:07:21 -0700 Subject: [PATCH] comments: Fix typo: inner -> outer --- src/comments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comments.md b/src/comments.md index ad29c58e5..bf1e7caa1 100644 --- a/src/comments.md +++ b/src/comments.md @@ -42,7 +42,7 @@ Non-doc comments are interpreted as a form of whitespace. ## Doc comments Line doc comments beginning with exactly _three_ slashes (`///`), and block -doc comments (`/** ... */`), both inner doc comments, are interpreted as a +doc comments (`/** ... */`), both outer doc comments, are interpreted as a special syntax for [`doc` attributes]. That is, they are equivalent to writing `#[doc="..."]` around the body of the comment, i.e., `/// Foo` turns into `#[doc="Foo"]` and `/** Bar */` turns into `#[doc="Bar"]`.