JosephTLyons / JosephTLyons/text_align_rust
Should cases where the line is longer than the width return an error?
Open
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently, we just return the original string if its too longer to process (in any of the alignments), but maybe this should be an error that the user handles. The user can choose to either quit out or dismiss the error and use the original string themselves.
Note that the Python alignment options simply return the string when the line is longer than the requested width, which is what we are doing now.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.