mirror of
https://gitlab.com/arnekeller/ascii-table.git
synced 2024-12-04 21:49:08 +00:00
Renaming.
This commit is contained in:
parent
940cd56e53
commit
06446170a6
@ -254,7 +254,7 @@ impl AsciiTable {
|
||||
if text.chars().count() > len {
|
||||
let mut result: String = text.chars().take(len).collect();
|
||||
if result.pop().is_some() {
|
||||
result.push('+')
|
||||
result.push('+')
|
||||
}
|
||||
result
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user