add more changes

This commit is contained in:
Adil Hafeez 2025-05-13 16:27:47 -07:00
parent 571b35e060
commit 7e39d048b4
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
9 changed files with 78 additions and 47 deletions

View file

@ -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()
}
}