summaryrefslogtreecommitdiff
path: root/std/io/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/io/util.ts')
-rw-r--r--std/io/util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/util.ts b/std/io/util.ts
index 4bcf7d2e9..4479e2c38 100644
--- a/std/io/util.ts
+++ b/std/io/util.ts
@@ -3,7 +3,7 @@ const { Buffer, mkdir, open } = Deno;
type File = Deno.File;
type Reader = Deno.Reader;
import * as path from "../path/mod.ts";
-import { encode } from "../strings/mod.ts";
+import { encode } from "../encoding/utf8.ts";
// `off` is the offset into `dst` where it will at which to begin writing values
// from `src`.