Wez Furlong
fdca5e6e2c
kumo-wrap: fixup handling of trailing whitespace
...
When I updated this crate for binary inputs, I switched from
str::split_ascii_whitespace() to slice::split(u8::is_ascii_whitespace).
This subtly alters the semantics; the former will not yield an empty
word in the trailing whitespace case, while the latter does.
Handle this by explicitly skipping an empty word.
This fixes up one of our lua test cases for wrapping long headers with
trailing whitespace.
2026-03-28 07:20:33 +00:00
..
2025-11-07 08:13:36 +00:00
2025-11-10 15:09:11 +00:00
2026-02-04 09:10:25 +00:00
2025-10-24 21:22:14 +01:00
2026-03-28 07:20:31 +00:00
2026-03-04 16:33:32 +00:00
2024-12-07 09:17:54 -07:00
2025-04-09 10:26:07 -07:00
2026-03-28 07:20:32 +00:00
2026-02-06 07:11:56 +00:00
2026-02-24 12:19:53 +00:00
2025-04-09 10:26:07 -07:00
2026-03-02 15:13:01 +00:00
2026-03-04 16:33:32 +00:00
2026-03-02 15:42:27 +00:00
2026-03-28 07:20:31 +00:00
2026-03-28 07:20:31 +00:00
2026-02-24 12:19:53 +00:00
2026-02-24 12:19:54 +00:00
2026-03-11 15:19:23 +00:00
2026-03-11 15:19:23 +00:00
2026-02-04 11:45:11 +00:00
2026-03-11 15:19:23 +00:00
2025-12-16 13:53:27 +00:00
2026-01-07 07:46:28 +00:00
2026-01-19 07:45:09 +00:00
2026-03-28 07:20:33 +00:00
2026-03-28 07:20:32 +00:00
2026-03-11 15:19:23 +00:00
2026-03-28 07:20:27 +00:00
2026-03-28 07:20:32 +00:00
2026-03-28 07:20:31 +00:00
2025-04-09 10:26:07 -07:00
2025-12-18 07:14:36 -07:00
2025-10-22 11:55:16 +01:00
2025-11-13 12:06:32 +00:00
2026-03-04 16:33:32 +00:00
2025-09-18 19:50:37 +01:00
2025-10-07 12:12:46 +01:00
2025-11-01 07:40:40 +00:00
2025-12-18 07:14:36 -07:00
2025-10-08 11:00:37 +01:00
2026-03-11 15:19:23 +00:00
2026-03-28 07:20:31 +00:00
2025-07-29 15:22:51 +01:00
2026-02-24 11:03:43 +00:00
2026-03-04 08:03:21 +00:00
2025-04-09 10:26:12 -07:00
2026-03-16 08:35:00 +00:00
2025-11-12 15:40:28 +00:00
2025-04-09 10:26:07 -07:00
2026-03-28 07:20:26 +00:00
2026-02-04 11:45:11 +00:00
2024-12-07 09:17:54 -07:00
2025-11-01 07:40:40 +00:00
2026-02-06 07:31:30 +00:00
2025-04-09 10:26:07 -07:00
2026-03-16 08:06:35 +00:00
2025-10-24 13:41:27 +01:00
2026-02-04 11:45:11 +00:00
2024-11-13 13:50:27 -07:00
2025-04-09 10:26:11 -07:00
2025-04-09 10:26:12 -07:00
2025-09-01 23:33:13 -07:00
2026-02-04 11:45:11 +00:00
2025-07-24 13:00:27 +01:00
2025-04-09 10:26:07 -07:00
2025-10-24 09:08:42 -07:00
2026-02-20 06:51:23 +00:00
2025-04-09 10:26:07 -07:00
2024-11-13 13:50:27 -07:00
2025-03-18 14:05:30 -07:00
2026-02-09 07:59:10 +00:00