diff options
author | figsoda <figsoda@pm.me> | 2022-12-17 18:59:29 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-12-17 18:59:29 -0500 |
commit | 695d4bc76b9abdc3208a9475d71fdf0f41e925c8 (patch) | |
tree | 9bbe272e46db35fceaaec271112d458cc84c98e4 /lib/strings.nix | |
parent | 403e25e3e31319146c3e6ab478485a9c33efa07f (diff) |
lib: fix typos
Diffstat (limited to 'lib/strings.nix')
-rw-r--r-- | lib/strings.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strings.nix b/lib/strings.nix index 64bf5bbafd3da..8a19bc56ed5cb 100644 --- a/lib/strings.nix +++ b/lib/strings.nix @@ -185,7 +185,7 @@ rec { */ makeBinPath = makeSearchPathOutput "bin" "bin"; - /* Normalize path, removing extranous /s + /* Normalize path, removing extraneous /s Type: normalizePath :: string -> string @@ -330,7 +330,7 @@ rec { */ escape = list: replaceStrings list (map (c: "\\${c}") list); - /* Escape occurence of the element of `list` in `string` by + /* Escape occurrence of the element of `list` in `string` by converting to its ASCII value and prefixing it with \\x. Only works for printable ascii characters. |