1 unstable release
| 0.0.0 | Jan 28, 2025 |
|---|
#27 in #inclusive
Used in 2 crates
(via arch-pkg-text)
4KB
lines-inclusive
Split a string into multiple lines, every line may end with \n
Example
use lines_inclusive::LinesInclusive;
let lines: Vec<_> = "ABC\nDEF\nGHI".lines_inclusive().collect();
assert_eq!(lines, ["ABC\n", "DEF\n", "GHI"]);