Skip to content

Commit fe6f27b

Browse files
committed
Remove TODO comment
The current code is correct, so no need for this comment.
1 parent f0f5ab6 commit fe6f27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/calendar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ class OneObjectCache {
530530
constructor(cacheToClone: OneObjectCache = undefined) {
531531
this.now = globalThis.performance ? globalThis.performance.now() : Date.now();
532532
if (cacheToClone !== undefined) {
533-
let i = 0; // TODO why was this originally cacheToClone.length ?
533+
let i = 0;
534534
for (const entry of cacheToClone.map.entries()) {
535535
if (++i > OneObjectCache.MAX_CACHE_ENTRIES) break;
536536
this.map.set(...entry);

0 commit comments

Comments
 (0)