diff options
author | syumai <syumai@gmail.com> | 2020-07-15 03:21:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 14:21:08 -0400 |
commit | 7be29fab8d4267bca9c8f0020f634fe5f1bd3caa (patch) | |
tree | b59e476081e3452dcf88dbc4a5ffadb00b9017d5 | |
parent | 2dea2c9e75c6406b08774b57a2388d75a2eec215 (diff) |
Remove unused property of StringReader (#6743)
-rw-r--r-- | std/io/readers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/readers.ts b/std/io/readers.ts index 83115ee19..58961b430 100644 --- a/std/io/readers.ts +++ b/std/io/readers.ts @@ -7,7 +7,7 @@ import { encode } from "../encoding/utf8.ts"; /** Reader utility for strings */ export class StringReader extends Deno.Buffer { - constructor(private readonly s: string) { + constructor(s: string) { super(encode(s).buffer); } } |