JosephTLyons / JosephTLyons/text_align_rust

Strings with multiple newlines scattered throughout them

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

This was a bit of an oversight, how do we handle strings like `"a\nb\nc\nd\n\n\n"`?

Does the function error out if newline found in middle of string? Do we provide a new method that converts these into a vector of lines and then runs the alignment functions on each? Not entirely sure as of yet.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.