summaryrefslogtreecommitdiff
path: root/std/io/ioutil.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/io/ioutil.ts')
-rw-r--r--std/io/ioutil.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/ioutil.ts b/std/io/ioutil.ts
index cfcfdf794..9a727f436 100644
--- a/std/io/ioutil.ts
+++ b/std/io/ioutil.ts
@@ -8,8 +8,8 @@ import { assert } from "../testing/asserts.ts";
* If read size is lesser than N, then returns nread
* */
export async function copyN(
- dest: Writer,
r: Reader,
+ dest: Writer,
size: number
): Promise<number> {
let bytesRead = 0;