mirror of
https://github.com/katanemo/plano.git
synced 2026-07-23 16:51:04 +02:00
add more changes
This commit is contained in:
parent
571b35e060
commit
7e39d048b4
9 changed files with 78 additions and 47 deletions
|
|
@ -1,7 +1,7 @@
|
|||
pub fn shorten_string(s: &str) -> String {
|
||||
if s.len() > 80 {
|
||||
format!("{}...", &s[..80])
|
||||
} else {
|
||||
s.to_string()
|
||||
}
|
||||
if s.len() > 80 {
|
||||
format!("{}...", &s[..80])
|
||||
} else {
|
||||
s.to_string()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue