Skip to content

Commit 55a1933

Browse files
committed
Fix a typo.
1 parent f1f627a commit 55a1933

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/util/createBoundary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ function createBoundary(size: number): string {
1010
let res = ""
1111

1212
while (size--) {
13-
// I use bitwise `<<` here for slightly more performant string fill.
14-
// It will basically do same thing as `Math.truc()`,
13+
// I use bitwise `<<` for slightly more performant string fill.
14+
// It will do basically the same thing as `Math.trunc()`,
1515
// except it only support signed 32-bit integers.
1616
// Because the result of this operation will always be
1717
// a number in range `0` and `alphabet.length - 1` (inclusive),

0 commit comments

Comments
 (0)