From a239b81e780317adbd62be75541bbbe99ba5e06b Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org> Date: Wed, 2 Aug 2017 11:52:53 +0530 Subject: [PATCH] metainfo: remove a redundant "show" --- src/FuncTorrent/Metainfo.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FuncTorrent/Metainfo.hs b/src/FuncTorrent/Metainfo.hs index 9354082..bec28b8 100644 --- a/src/FuncTorrent/Metainfo.hs +++ b/src/FuncTorrent/Metainfo.hs @@ -130,5 +130,5 @@ torrentToMetainfo :: ByteString -> Either String Metainfo torrentToMetainfo s = case decode s of Right d -> mkMetaInfo d - Left e -> Left (show "Cannot parse the torrent file: " ++ show e) + Left e -> Left ("Cannot parse the torrent file: " ++ show e) -- 2.45.2