aboutsummaryrefslogtreecommitdiff
path: root/src/modules/index.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/index.rs')
-rw-r--r--src/modules/index.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/index.rs b/src/modules/index.rs
index cd45150..0f7749a 100644
--- a/src/modules/index.rs
+++ b/src/modules/index.rs
@@ -41,10 +41,8 @@ Don't know where to start? Check out The Directory or test your luck!
posts
.iter()
- .map(|post| format!("=> {} {}", post.link(), post.title()))
- .collect::<Vec<String>>()
- .into_iter()
.take(3)
+ .map(|post| format!("=> {} {}", post.link(), post.title()))
.collect::<Vec<String>>()
.join("\n")
},