Skip to content

Commit cbd8c41

Browse files
Update component-model/src/design/wit.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
1 parent 2ae4f70 commit cbd8c41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • component-model/src/design

component-model/src/design/wit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ result<http-response, http-error>
167167
This is similar to Rust `Result`, or Haskell `Either`.
168168

169169
> This is a special case of a [variant](#variants) type.
170-
> WIT defines it so that there is a common way of expressing it,
170+
> WIT defines the `result` type so that there is a common way of expressing this behavior,
171171
> so that you don't need to create a variant type for every combination of value and error types,
172172
> and to enable it to be mapped idiomatically into languages with result or "either" types.
173173

0 commit comments

Comments
 (0)