We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe8b581 commit 842b6d1Copy full SHA for 842b6d1
packages/biliass/rust/src/proto/mod.rs
@@ -1,2 +1,4 @@
1
+#[allow(dead_code)]
2
pub mod danmaku;
3
4
pub mod danmaku_view;
packages/biliass/rust/src/writer/rows.rs
@@ -38,10 +38,10 @@ pub fn test_free_rows(
38
while current_row < rowmax && (res as f32) < comment_data.height {
39
if target_row != rows[comment_pos_id][current_row] {
40
target_row = rows[comment_pos_id][current_row];
41
- if let Some(target_row) = target_row {
42
- if target_row.timeline + duration_still > comment.timeline {
43
- break;
44
- }
+ if let Some(target_row) = target_row
+ && target_row.timeline + duration_still > comment.timeline
+ {
+ break;
45
}
46
47
current_row += 1;
0 commit comments