Skip to content

Commit

Permalink
karm-io: Fix formating of Res<V, E>.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Dec 18, 2024
1 parent 76df3f4 commit e9346cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/karm-io/fmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ struct Formatter<Res<T, E>> {
}
}

Res<usize> format(Io::TextWriter &writer, Res<T> const &val) {
Res<usize> format(Io::TextWriter &writer, Res<T, E> const &val) {
if (val)
return _fmtOk.format(writer, val.unwrap());
return _fmtErr.format(writer, val.none());
Expand Down

0 comments on commit e9346cd

Please sign in to comment.