mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 11:40:46 -05:00
Fix issue with formatting from std library updates
This commit is contained in:
parent
6955f2c067
commit
8605615ad7
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ pub fn main() void {
|
|||
var first_line2: Err!*const [21]u8 = ???;
|
||||
first_line2 = "which can eternal lie";
|
||||
|
||||
std.debug.print("{s} {s} / ", .{ first_line1, first_line2 });
|
||||
std.debug.print("{s} {!s} / ", .{ first_line1, first_line2 });
|
||||
|
||||
printSecondLine();
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ fn printTuple(tuple: anytype) void {
|
|||
// @field(foo, "x"); // returns the value at foo.x
|
||||
//
|
||||
// The first field should print as: "0"(bool):true
|
||||
print("\"{s}\"({s}):{any} ", .{
|
||||
print("\"{s}\"({any}):{any} ", .{
|
||||
field.???,
|
||||
field.???,
|
||||
???,
|
||||
|
|
Loading…
Reference in a new issue