Skip to content

Commit 7c3dccb

Browse files
committed
remove the useless format
1 parent 0d4e36d commit 7c3dccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/uu/truncate/src/truncate.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn get_usage() -> String {
4343
}
4444

4545
fn get_long_usage() -> String {
46-
format!(
46+
String::from(
4747
"
4848
SIZE is an integer with an optional prefix and optional unit.
4949
The available units (K, M, G, T, P, E, Z, and Y) use the following format:
@@ -60,7 +60,7 @@ fn get_long_usage() -> String {
6060
'<' => at most
6161
'>' => at least
6262
'/' => round down to multiple of
63-
'%' => round up to multiple of"
63+
'%' => round up to multiple of",
6464
)
6565
}
6666

0 commit comments

Comments
 (0)