mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-07 23:04:34 +01:00
Remove the `{D}` format specifier. It is moved into `std.Io.Duration` as
a format method.
Migration plan:
```diff
-writer.print("{D}", .{ns});
+writer.print("{f}", .{std.Io.Duration{ .nanoseconds = ns }});
```
All instances where `{D}` was used have been changed to use
`std.Io.Duration` and `{f}`.
Fixes #31281
|
||
|---|---|---|
| .. | ||
| fuzz.zig | ||
| index.html | ||
| main.js | ||
| main.zig | ||
| style.css | ||
| time_report.css | ||
| time_report.zig | ||