From e0d4696a7201301dfa23e108b6e73d016e3f5e63 Mon Sep 17 00:00:00 2001 From: KNnut <9387720+KNnut@users.noreply.github.com> Date: Sat, 26 Sep 2020 22:14:56 +0800 Subject: Fix typos (#7687) --- std/async/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'std/async/README.md') diff --git a/std/async/README.md b/std/async/README.md index 3470c9c72..ac7938e18 100644 --- a/std/async/README.md +++ b/std/async/README.md @@ -11,7 +11,7 @@ The following functions and class are exposed in `mod.ts` Creates a Promise with the `reject` and `resolve` functions. ```typescript -import { deferred } from "https://deno.land.std/async/mod.ts"; +import { deferred } from "https://deno.land/std/async/mod.ts"; const p = deferred(); // ... @@ -23,7 +23,7 @@ p.resolve(42); Resolve a Promise after a given amount of milliseconds ```typescript -import { delay } from "https://deno.land.std/async/mod.ts"; +import { delay } from "https://deno.land/std/async/mod.ts"; // ... const delayedPromise = delay(100); @@ -41,7 +41,7 @@ yielded from the iterator) does not matter. If there is any result, it is discarded. ```typescript -import { MuxAsyncIterator } from "https://deno.land.std/async/mod.ts"; +import { MuxAsyncIterator } from "https://deno.land/std/async/mod.ts"; async function* gen123(): AsyncIterableIterator { yield 1; @@ -71,7 +71,7 @@ transforms are done concurrently, with a max concurrency defined by the poolLimit. ```typescript -import { pooledMap } from "https://deno.land.std/async/mod.ts"; +import { pooledMap } from "https://deno.land/std/async/mod.ts"; const results = pooledMap( 2, -- cgit v1.2.3