1 unstable release
0.0.0 | Jan 28, 2025 |
---|
#10 in #inclusive
157 downloads per month
Used in 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"]);