fix: typos (#540)

This commit is contained in:
Bakhtiiar Muzakparov 2020-01-24 20:02:55 +00:00 committed by David Luzar
parent afb1d6725f
commit 689c94151d
4 changed files with 11 additions and 11 deletions

View file

@ -80,7 +80,7 @@ export function moveOneRight<T>(elements: T[], indicesToMove: number[]) {
// [_, _, a, b, d, e, g]
//
// At this point, we can fill back the leftmost elements with the array we saved at
// the beggining
// the beginning
//
// |1 |0
// [c, f, a, b, d, e, g]
@ -158,7 +158,7 @@ export function moveAllLeft<T>(elements: T[], indicesToMove: number[]) {
// [a, b, d, e, g, _, _]
//
// At this point, we can fill back the rightmost elements with the array we saved at
// the beggining
// the beginning
//
// |0 |1
// [a, b, d, e, g, c, f]