about summary refs log tree commit diff
path: root/lib/strings.nix
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-17 18:59:29 -0500
committerfigsoda <figsoda@pm.me>2022-12-17 18:59:29 -0500
commit695d4bc76b9abdc3208a9475d71fdf0f41e925c8 (patch)
tree9bbe272e46db35fceaaec271112d458cc84c98e4 /lib/strings.nix
parent403e25e3e31319146c3e6ab478485a9c33efa07f (diff)
lib: fix typos
Diffstat (limited to 'lib/strings.nix')
-rw-r--r--lib/strings.nix4
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.