Skip to content

Commit 53e8311

Browse files
authored
Fixed a typo in UnderscoredAttributes.md
Fixed an accidental past tense in the Underscored Attributes reference guide; “inherited” => “inherit”.
1 parent 51b08b6 commit 53e8311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ReferenceGuides/UnderscoredAttributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ class C {
272272

273273
(Note that it is "inherit", not "inherits", unlike below.)
274274

275-
Marks that a `@Sendable async` closure argument should inherited the actor
275+
Marks that a `@Sendable async` closure argument should inherit the actor
276276
context (i.e. what actor it should be run on) based on the declaration site
277277
of the closure. This is different from the typical behavior, where the closure
278278
may be runnable anywhere unless its type specifically declares that it will

0 commit comments

Comments
 (0)