Added clone to RaSub

This commit is contained in:
Uttarayan Mondal
2021-03-30 15:23:39 +05:30
parent 67d962f138
commit a1c270b61a
+1 -1
View File
@@ -99,7 +99,7 @@ impl RaPost {
///# RaSub
///Subreddit object
///Keeps track of posts
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct RaSub {
pub name: String,
pub posts: Vec<RaPost>,