mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 09:58:50 +00:00
Use struct for allocations
This commit is contained in:
@@ -29,7 +29,7 @@ class RedditComment
|
||||
})
|
||||
end
|
||||
|
||||
class RedditLink
|
||||
struct RedditLink
|
||||
JSON.mapping({
|
||||
author: String,
|
||||
score: Int32,
|
||||
@@ -41,7 +41,7 @@ class RedditLink
|
||||
})
|
||||
end
|
||||
|
||||
class RedditMore
|
||||
struct RedditMore
|
||||
JSON.mapping({
|
||||
children: Array(String),
|
||||
count: Int32,
|
||||
|
||||
Reference in New Issue
Block a user