From 1a1b2a0de67dccc1102449b8620830131d569cde Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 22 Dec 2021 16:50:58 -0500 Subject: Hotfix/doc typo5 (#2070) * #include an absolute path didn't work - because paths were taken to always be relative. * Fix typos in introduction and conventional features. * Struct inheritance is allowed. Fix some typos. --- docs/language-reference/07-declarations.md | 3 --- 1 file changed, 3 deletions(-) (limited to 'docs/language-reference') diff --git a/docs/language-reference/07-declarations.md b/docs/language-reference/07-declarations.md index 14bd3bd34..527746e9c 100644 --- a/docs/language-reference/07-declarations.md +++ b/docs/language-reference/07-declarations.md @@ -314,11 +314,8 @@ struct Person : IHasAge, IHasName { .... } ``` -Currently only interface types may be named in the inheritance clause of a structure type. When a structure type declares that it inherits from an interface, the programmer asserts that the structure type implements the required members of the interface. -> Note: A future version of Slang may allow a structure type to inherit from another structure type. - ### Syntax Details A structure declaration does *not* need to be terminated with a semicolon: -- cgit v1.2.3