diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-01-17 00:32:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 00:32:59 +0100 |
commit | b26dcbc69d56b6ac5780520dad47f10460127d3e (patch) | |
tree | 1f0c45b2c39eff83a9fede7a9e6e268a5e04194b /std/fmt/printf.ts | |
parent | fc45a19801fe32eaf3a82ab8333f433fcfd7ca4e (diff) |
chore: Enforce ban-untagged-todo lint rule (#9135)
Diffstat (limited to 'std/fmt/printf.ts')
-rw-r--r-- | std/fmt/printf.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/std/fmt/printf.ts b/std/fmt/printf.ts index 4f8a83933..6a821f208 100644 --- a/std/fmt/printf.ts +++ b/std/fmt/printf.ts @@ -151,7 +151,8 @@ class Printf { } } // switch c break; - case State.POSITIONAL: // either a verb or * only verb for now, TODO + case State.POSITIONAL: + // TODO(bartlomieju): either a verb or * only verb for now if (c === "*") { const worp = this.flags.precision === -1 ? WorP.WIDTH @@ -689,7 +690,7 @@ class Printf { if (i !== 0 && this.flags.space) { hex += sharp ? " 0x" : " "; } - // TODO: for now only taking into account the + // TODO(bartlomieju): for now only taking into account the // lower half of the codePoint, ie. as if a string // is a list of 8bit values instead of UCS2 runes const c = (val.charCodeAt(i) & 0xff).toString(16); |