Skip to content

Commit

Permalink
lib: fix typo in timers insert function comment
Browse files Browse the repository at this point in the history
PR-URL: #33301
Reviewed-By: Zeyu Yang <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
danbev authored and targos committed May 10, 2020
1 parent 34d92b7 commit 2fa86b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ function insertGuarded(item, refed, start) {
}

function insert(item, msecs, start = getLibuvNow()) {
// Truncate so that accuracy of sub-milisecond timers is not assumed.
// Truncate so that accuracy of sub-millisecond timers is not assumed.
msecs = MathTrunc(msecs);
item._idleStart = start;

Expand Down

0 comments on commit 2fa86b8

Please sign in to comment.