aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/VeriFuzz/Config.hs')
-rw-r--r--src/VeriFuzz/Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VeriFuzz/Config.hs b/src/VeriFuzz/Config.hs
index b135c55..eefebe2 100644
--- a/src/VeriFuzz/Config.hs
+++ b/src/VeriFuzz/Config.hs
@@ -130,7 +130,7 @@ parseConfig t = case Toml.decode configCodec t of
Left (Toml.ParseError _) -> error "Config file parse error"
configEncode :: Config -> Text
-configEncode c = Toml.encode configCodec c
+configEncode = Toml.encode configCodec
configToFile :: FilePath -> Config -> IO ()
configToFile f = T.writeFile f . configEncode