fix typo "envionment" -> "environment" (#13496)

This commit is contained in:
Robin Malfait 2024-04-11 00:17:11 +02:00 committed by GitHub
parent e4e73e49a8
commit 45dd25ec38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ const CLOSE_CURLY = 0x7d
*/
export function segment(input: string, separator: string) {
// SAFETY: We can use an index into a shared buffer because this function is
// synchronous, non-recursive, and runs in a single-threaded envionment.
// synchronous, non-recursive, and runs in a single-threaded environment.
let stackPos = 0
let parts: string[] = []
let lastPos = 0