mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:50:13 +01:00
Fix interface extends syntax (#1383)
This commit is contained in:
@@ -207,7 +207,8 @@ extends
|
||||
[the `As` interface used to implement `as` expressions](as_expressions.md#extensibility):
|
||||
|
||||
```
|
||||
interface ImplicitAs(Dest:! Type) extends As(Dest) {
|
||||
interface ImplicitAs(Dest:! Type) {
|
||||
extends As(Dest);
|
||||
// Inherited from As(Dest):
|
||||
// fn Convert[me: Self]() -> Dest;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user