Skip to content

Commit fd45bd9

Browse files
committed
fix clippy lint
1 parent 3eab66d commit fd45bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/timeline.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type Interval = (ActivityId, Activity);
1515

1616
const DEFAULT_TERMINAL_SIZE: usize = 90;
1717

18-
fn chunkify(s: &String, size: usize) -> Vec<String> {
18+
fn chunkify(s: &str, size: usize) -> Vec<String> {
1919
let inter: Vec<char> = s.chars().collect();
2020
let chunks = inter.chunks_exact(size);
2121
let remainder = chunks.remainder().to_vec();

0 commit comments

Comments
 (0)