summaryrefslogtreecommitdiff
path: root/libraries/ghc-boot/GHC/BaseDir.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ghc-boot/GHC/BaseDir.hs')
-rw-r--r--libraries/ghc-boot/GHC/BaseDir.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ghc-boot/GHC/BaseDir.hs b/libraries/ghc-boot/GHC/BaseDir.hs
index 196ab2eb72..656e4014db 100644
--- a/libraries/ghc-boot/GHC/BaseDir.hs
+++ b/libraries/ghc-boot/GHC/BaseDir.hs
@@ -33,7 +33,7 @@ expandTopDir = expandPathVar "topdir"
-- | @expandPathVar var value str@
--
--- replaces occurences of variable @$var@ with @value@ in str.
+-- replaces occurrences of variable @$var@ with @value@ in str.
expandPathVar :: String -> FilePath -> String -> String
expandPathVar var value str
| Just str' <- stripPrefix ('$':var) str