Apply cargo fmt --all
This commit is contained in:
+2
-2
@@ -56,11 +56,11 @@ pub trait Bye: Sized {
|
||||
impl<T> Bye for T {}
|
||||
|
||||
/// Trims a string to a maximum length, adding an ellipsis if it exceeds the limit.
|
||||
///
|
||||
///
|
||||
/// Arguments:
|
||||
/// * `string` - The string to trim with ellipse.
|
||||
/// * `max_length` - The max length the string may have.
|
||||
///
|
||||
///
|
||||
/// Returns:
|
||||
/// [`String`] - The trimmed string with an ellipsis if it exceeded the limit.
|
||||
pub fn ellipse(string: String, max_length: usize) -> String {
|
||||
|
||||
Reference in New Issue
Block a user