Skip to content

Commit ac192e4

Browse files
committed
Cut redundant paragraph and example
1 parent cbe546f commit ac192e4

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

design/mvp/WIT.md

-28
Original file line numberDiff line numberDiff line change
@@ -284,34 +284,6 @@ world union-my-world {
284284
}
285285
```
286286

287-
The `include` statement also works with [WIT package](#wit-packages-and-use) defined below with the same semantics. For example, the following World `union-my-world-a` is equivalent to `union-my-world-b`:
288-
289-
```wit
290-
package local:demo;
291-
292-
interface b { ... }
293-
interface a { ... }
294-
295-
world my-world-a {
296-
import a;
297-
import b;
298-
import wasi:io/c;
299-
export d: interface { ... }
300-
}
301-
302-
world union-my-world-a {
303-
include my-world-a;
304-
}
305-
306-
world union-my-world-b {
307-
import a;
308-
import b;
309-
import wasi:io/c;
310-
311-
export d: interface { ... }
312-
}
313-
```
314-
315287
### De-duplication of IDs
316288

317289
If two worlds shared the same set of import and export IDs, then the union of the two worlds will only contain one copy of this set. For example, the following two worlds `union-my-world-a` and `union-my-world-b` are equivalent:

0 commit comments

Comments
 (0)