aboutsummaryrefslogtreecommitdiffstats
path: root/yt/src/comments/comment.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--yt/src/comments/comment.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt/src/comments/comment.rs b/yt/src/comments/comment.rs
index 752c510..c998cdb 100644
--- a/yt/src/comments/comment.rs
+++ b/yt/src/comments/comment.rs
@@ -11,6 +11,7 @@
use yt_dlp::wrapper::info_json::Comment;
#[derive(Debug, Clone)]
+#[allow(clippy::module_name_repetitions)]
pub struct CommentExt {
pub value: Comment,
pub replies: Vec<CommentExt>,
@@ -43,7 +44,7 @@ impl Comments {
}
impl CommentExt {
pub fn push_reply(&mut self, value: CommentExt) {
- self.replies.push(value)
+ self.replies.push(value);
}
pub fn get_mut_reply(&mut self, key: &str) -> Option<&mut CommentExt> {
self.replies