Mara Bos
cc5ee70b1a
Simplify expansion for format_args!().
...
Instead of calling new(), we can just use a struct expression directly.
Before:
Placeholder::new(…, …, …, …)
After:
Placeholder {
position: …,
flags: …,
width: …,
precision: …,
}
2025-03-30 10:42:00 +02:00
..
2025-03-26 19:40:28 +11:00
2025-03-30 10:42:00 +02:00
2025-03-28 21:18:30 +01:00
2025-03-26 15:30:12 +03:00
2025-03-28 10:15:23 +11:00
2025-03-28 12:21:21 +00:00
2025-03-28 10:18:32 +00:00
2025-03-28 10:18:32 +00:00
2025-03-28 12:21:21 +00:00
2025-03-26 15:46:05 +01:00
2025-03-27 18:29:06 +00:00
2025-03-27 13:11:17 -04:00
2025-03-26 15:30:12 +03:00
2025-03-28 10:15:23 +11:00
2025-03-28 22:49:27 +01:00
2025-03-29 11:43:49 +01:00
2025-03-27 15:57:22 +11:00
2025-03-27 15:57:24 +11:00
2025-03-26 19:40:27 +11:00
2025-03-29 11:43:49 +01:00
2025-03-28 12:21:21 +00:00
2025-03-27 17:45:18 +00:00
2025-03-27 15:57:25 +11:00
2025-03-26 04:39:38 +00:00
2025-03-27 13:11:17 -04:00
2025-03-28 12:21:21 +00:00
2025-03-26 13:09:36 +01:00
2025-03-27 13:11:17 -04:00
2025-03-28 21:18:32 +01:00
2025-03-28 12:21:21 +00:00
2025-03-30 10:42:00 +02:00
2025-03-26 00:06:46 +00:00
2025-03-28 10:15:23 +11:00
2025-03-26 04:39:38 +00:00
2025-03-28 12:14:09 +00:00