@@ -14,7 +14,7 @@ struct std::formatter<std::array<uint8_t, N>> : std::formatter<std::string_view>
1414
1515 auto format (const std::array<uint8_t , N>& arr, format_context& ctx) const {
1616 auto out = ctx.out ();
17- out = std::format_to (out, " Array<uint8_t, {} >: {{" , N);
17+ out = std::format_to (out, " Array<{} >: {{" , N);
1818
1919 for (std::size_t i = 0 ; i < N; ++i) {
2020 out = std::format_to (out, " {:02x}" , arr[i]);
@@ -32,7 +32,7 @@ struct std::formatter<std::span<uint8_t, N>> : std::formatter<std::string_view>
3232
3333 auto format (const std::span<uint8_t , N>& arr, format_context& ctx) const {
3434 auto out = ctx.out ();
35- out = std::format_to (out, " Span<uint8_t, {} >: {{" , N);
35+ out = std::format_to (out, " Span<{} >: {{" , N);
3636
3737 for (std::size_t i = 0 ; i < N; ++i) {
3838 out = std::format_to (out, " {:02x}" , arr[i]);
@@ -50,7 +50,7 @@ struct std::formatter<std::span<uint8_t>> : std::formatter<std::string_view> {
5050
5151 auto format (const std::span<uint8_t >& arr, format_context& ctx) const {
5252 auto out = ctx.out ();
53- out = std::format_to (out, " Span<uint8_t, {}> = {{" , arr.size ());
53+ out = std::format_to (out, " Span<{}> = {{" , arr.size ());
5454
5555 for (std::size_t i = 0 ; i < arr.size (); ++i) {
5656 out = std::format_to (out, " {:02x}" , arr[i]);
@@ -68,7 +68,7 @@ struct std::formatter<std::vector<uint8_t>> : std::formatter<std::string_view> {
6868
6969 auto format (const std::vector<uint8_t >& arr, format_context& ctx) const {
7070 auto out = ctx.out ();
71- out = std::format_to (out, " Vector<uint8_t, {}> = {{" , arr.size ());
71+ out = std::format_to (out, " Vector<{}> = {{" , arr.size ());
7272
7373 for (std::size_t i = 0 ; i < arr.size (); ++i) {
7474 out = std::format_to (out, " {:02x}" , arr[i]);
0 commit comments