Skip to content

Commit

Permalink
Fix WIT resource desugar example (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
lann authored Mar 17, 2024
1 parent eefe545 commit 1bd7817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion design/mvp/WIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ resource blob {
desugars into:
```wit
resource blob;
%[constructor]blob: func(self: borrow<blob>, bytes: list<u8>) -> blob;
%[constructor]blob: func(init: list<u8>) -> blob;
%[method]blob.write: func(self: borrow<blob>, bytes: list<u8>);
%[method]blob.read: func(self: borrow<blob>, n: u32) -> list<u8>;
%[static]blob.merge: func(lhs: borrow<blob>, rhs: borrow<blob>) -> blob;
Expand Down

0 comments on commit 1bd7817

Please sign in to comment.