summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-06-15 09:29:54 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-08-02 04:12:41 -0400
commit4ae1e53c49f9e10db7aa21dc58ef5e8f6c3c28fb (patch)
treebe0ab173e2c0c1596c2502370454fd60c76c7633
parent2114a8ac26c303137931ad400b952afd131b691d (diff)
downloadhaskell-4ae1e53c49f9e10db7aa21dc58ef5e8f6c3c28fb.tar.gz
Fix spelling
-rw-r--r--libraries/base/System/IO.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/System/IO.hs b/libraries/base/System/IO.hs
index 864037d268..265507d970 100644
--- a/libraries/base/System/IO.hs
+++ b/libraries/base/System/IO.hs
@@ -476,7 +476,7 @@ openTempFile :: FilePath -- ^ Directory in which to create the file
-- the created file will be \"fooXXX.ext\" where XXX is some
-- random number. Note that this should not contain any path
-- separator characters. On Windows, the template prefix may
- -- be trunacted to 3 chars, e.g. \"foobar.ext\" will be
+ -- be truncated to 3 chars, e.g. \"foobar.ext\" will be
-- \"fooXXX.ext\".
-> IO (FilePath, Handle)
openTempFile tmp_dir template