Skip to content

Commit 60f63ec

Browse files
committed
get-many move option to value
Signed-off-by: David Justice <[email protected]>
1 parent da58d54 commit 60f63ec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

imports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ list.</p>
304304
</ul>
305305
<h5>Return values</h5>
306306
<ul>
307-
<li><a id="get_many.0"></a> result&lt;list&lt;option&lt;(<code>string</code>, list&lt;<code>u8</code>&gt;)&gt;&gt;, <a href="#error"><a href="#error"><code>error</code></a></a>&gt;</li>
307+
<li><a id="get_many.0"></a> result&lt;list&lt;(<code>string</code>, option&lt;list&lt;<code>u8</code>&gt;&gt;)&gt;, <a href="#error"><a href="#error"><code>error</code></a></a>&gt;</li>
308308
</ul>
309309
<h4><a id="set_many"></a><code>set-many: func</code></h4>
310310
<p>Set the values associated with the keys in the store. If the key already exists in the

watch-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ list.</p>
302302
</ul>
303303
<h5>Return values</h5>
304304
<ul>
305-
<li><a id="get_many.0"></a> result&lt;list&lt;option&lt;(<code>string</code>, list&lt;<code>u8</code>&gt;)&gt;&gt;, <a href="#error"><a href="#error"><code>error</code></a></a>&gt;</li>
305+
<li><a id="get_many.0"></a> result&lt;list&lt;(<code>string</code>, option&lt;list&lt;<code>u8</code>&gt;&gt;)&gt;, <a href="#error"><a href="#error"><code>error</code></a></a>&gt;</li>
306306
</ul>
307307
<h4><a id="set_many"></a><code>set-many: func</code></h4>
308308
<p>Set the values associated with the keys in the store. If the key already exists in the

wit/batch.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ interface batch {
2929
/// MAY show an out-of-date value if there are concurrent writes to the store.
3030
///
3131
/// If any other error occurs, it returns an `Err(error)`.
32-
get-many: func(bucket: borrow<bucket>, keys: list<string>) -> result<list<option<tuple<string, list<u8>>>>, error>;
32+
get-many: func(bucket: borrow<bucket>, keys: list<string>) -> result<list<tuple<string, option<list<u8>>>>, error>;
3333

3434
/// Set the values associated with the keys in the store. If the key already exists in the
3535
/// store, it overwrites the value.

0 commit comments

Comments
 (0)