Skip to content

Commit 4fbf1b5

Browse files
committed
"and" seems more idiomatic
1 parent b563da0 commit 4fbf1b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example-async/src/AA.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ let testFetchWithResult =
194194
// // imaginary syntax
195195
// let testFetchWithResult = async () =>
196196
// if let Ok(response1) = await FetchResult.fetch("https://www.google.com")
197-
// let Some(url) = nextFetch(response1)
198-
// let Ok(response2) = await FetchResult.fetch(url) {
197+
// and Some(url) = nextFetch(response1)
198+
// and Ok(response2) = await FetchResult.fetch(url) {
199199
// Js.log2("FetchResult response2", response2->Fetch.Response.status)
200200
// }
201201

0 commit comments

Comments
 (0)