We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eefe545 commit 1bd7817Copy full SHA for 1bd7817
1 file changed
design/mvp/WIT.md
@@ -1162,7 +1162,7 @@ resource blob {
1162
desugars into:
1163
```wit
1164
resource blob;
1165
-%[constructor]blob: func(self: borrow<blob>, bytes: list<u8>) -> blob;
+%[constructor]blob: func(init: list<u8>) -> blob;
1166
%[method]blob.write: func(self: borrow<blob>, bytes: list<u8>);
1167
%[method]blob.read: func(self: borrow<blob>, n: u32) -> list<u8>;
1168
%[static]blob.merge: func(lhs: borrow<blob>, rhs: borrow<blob>) -> blob;
0 commit comments