diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 7bf25ea17cfb16a38c19c1b4e44afe512926324d..75e6a23a1b9fdb34cc6031718f87623e3d090776 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -506,11 +506,10 @@ LocalNoInlineNoReturn(void throwEvalError(const char * s, const string & s2))
 
 LocalNoInlineNoReturn(void throwEvalError(const Pos & pos, const char * s, const string & s2))
 {
-    throw EvalError(
-        ErrorInfo { 
-            .hint = hintfmt(s, s2),
-            .nixCode = NixCode { .errPos = pos }
-        });
+    throw EvalError({
+        .hint = hintfmt(s, s2),
+        .nixCode = NixCode { .errPos = pos }
+    });
 }
 
 LocalNoInlineNoReturn(void throwEvalError(const char * s, const string & s2, const string & s3))
diff --git a/src/libutil/types.hh b/src/libutil/types.hh
index 89ae108f9cb45a6c4f5075325f5cba200370a957..3af485fa0febd277cb0d11b648d24ea2d7373650 100644
--- a/src/libutil/types.hh
+++ b/src/libutil/types.hh
@@ -1,6 +1,5 @@
 #pragma once
 
-
 #include "ref.hh"
 
 #include <list>
@@ -25,7 +24,6 @@ typedef string Path;
 typedef list<Path> Paths;
 typedef set<Path> PathSet;
 
-
 /* Helper class to run code at startup. */
 template<typename T>
 struct OnStartup
@@ -33,5 +31,4 @@ struct OnStartup
     OnStartup(T && t) { t(); }
 };
 
-
 }