Skip to content

Commit 2cb9aee

Browse files
Implementable function aliases don't need extern
1 parent 0e73504 commit 2cb9aee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/3437-implementable-trait-alias.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ trait FooBar = Foo + Bar {
640640
}
641641
```
642642

643-
As aliases, `type` and `const` alias items do not require or accept bounds or
643+
As aliases, `type` and `const` alias items neither require nor accept bounds or
644644
`where` clauses; these are taken from the thing being aliased.
645645

646646
#### Implementability
@@ -750,8 +750,8 @@ trait Alias = Frob {
750750
}
751751
```
752752

753-
Effect keywords like `const`, `async`, or `unsafe` do not need to be specified,
754-
and are not permitted.
753+
Modifers like `const`, `async`, `unsafe`, or `extern "C"` are neither required
754+
nor accepted.
755755

756756
You are allowed to specify generic parameters, in order to reorder them. But you
757757
don't have to:

0 commit comments

Comments
 (0)