0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-29 07:18:20 +02:00

ircd::gpt::vocab: Improve debug fmtstr.

This commit is contained in:
Jason Volk 2021-10-05 11:47:45 -07:00
parent 8f90e7c0cd
commit 2df266e3be

View file

@ -179,10 +179,10 @@ ircd::gpt::vocab::debug(const mutable_buffer &out,
thread_local char strbuf[2][512];
return string_view{fmt::sprintf
{
out, "%5u %s [%32s]",
out, "%5u [%32s] %s",
idx,
simd::print_mem(strbuf[0], token[idx]),
simd::print_chr(strbuf[1], token[idx]),
simd::print_chr(strbuf[0], token[idx]),
simd::print_mem(strbuf[1], token[idx]),
}};
}