We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e29e952 + e2b6821 commit f450c87Copy full SHA for f450c87
src/libutil/serialise.cc
@@ -448,7 +448,7 @@ Error readError(Source & source)
448
auto msg = readString(source);
449
ErrorInfo info {
450
.level = level,
451
- .msg = hintformat(fmt("%s", msg)),
+ .msg = hintfmt(msg),
452
};
453
auto havePos = readNum<size_t>(source);
454
assert(havePos == 0);
@@ -457,7 +457,7 @@ Error readError(Source & source)
457
havePos = readNum<size_t>(source);
458
459
info.traces.push_back(Trace {
460
- .hint = hintformat(fmt("%s", readString(source)))
+ .hint = hintfmt(readString(source))
461
});
462
}
463
return Error(std::move(info));
0 commit comments