1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00

Remove unused property of StringReader (#6743)

This commit is contained in:
syumai 2020-07-15 03:21:08 +09:00 committed by GitHub
parent 2dea2c9e75
commit 7be29fab8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}