summaryrefslogtreecommitdiff
path: root/std/fmt/printf.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fmt/printf.ts')
-rw-r--r--std/fmt/printf.ts5
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);