| author | |
| committer | |
| log | 6701046cdd85d7a702be38a593e8385a5dfb4562 |
| tree | f73c7d3c272b17295a4d5ef6a71bb85d51620fc9 |
| parent | ada06e2996c70f5d25c60f06d2d171e105a020ad |
| signature |
Co-authored-by: Joachim Schmidt <joachim.schmidt557@outlook.com>1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/fmt.zig+1-1| ... | @@ -578,7 +578,7 @@ fn formatFloatValue( | ... | @@ -578,7 +578,7 @@ fn formatFloatValue( |
| 578 | @compileError("Unknown format string: '" ++ fmt ++ "'"); | 578 | @compileError("Unknown format string: '" ++ fmt ++ "'"); |
| 579 | } | 579 | } |
| 580 | 580 | ||
| 581 | return formatBuf(buf[0..buf_stream.pos], options, writer); | 581 | return formatBuf(buf_stream.getWritten(), options, writer); |
| 582 | } | 582 | } |
| 583 | 583 | ||
| 584 | pub fn formatText( | 584 | pub fn formatText( |