Skip to content

Commit 40a9c1a

Browse files
sunfishcodelukewagner
authored andcommitted
Use . instead of / for interface members.
Say: ``` wasi:io/streams.stream-error ``` instead of: ``` wasi:io/streams/stream-error ``` This better aligns with WIT's `use` syntax and the upcoming nested namespaces feature in WIT.
1 parent f1f8dea commit 40a9c1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wit/types.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ interface types {
110110
/// provided.
111111
///
112112
/// Stream operations which return
113-
/// `wasi:io/stream/stream-error::last-operation-failed` have a payload of
114-
/// type `wasi:io/error/error` with more information about the operation
113+
/// `wasi:io/stream.stream-error.last-operation-failed` have a payload of
114+
/// type `wasi:io/error.error` with more information about the operation
115115
/// that failed. This payload can be passed through to this function to see
116116
/// if there's http-related information about the error to return.
117117
///

0 commit comments

Comments
 (0)