Skip to content

Commit

Permalink
fix: warning and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jooooscha committed Jan 25, 2024
1 parent d1b5816 commit e98aa23
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 42 deletions.
97 changes: 61 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ threadpool = "1.8.1"

serde = { version = "1.0.124", features = ["derive"] }
serde_json = "1.0.64"
serde_yaml = "0.8.17"
quick-xml = { version = "0.22.0", features = ["serialize"] }
serde_yaml = "0.9.30"
quick-xml = { version = "0.31.0", features = ["serialize"] }
reqwest = { version = "*", features = ["blocking", "json"] }
arboard = "3.1.0"
fancy-regex = "0.13.0"
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/backend/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl Core {
for item in self.status_receiver.try_iter() {
changed = true;

if let Some(mut channel) = self.channel_list.get_unfiltered_mut_by_id(&item.text) {
if let Some(channel) = self.channel_list.get_unfiltered_mut_by_id(&item.text) {
channel.fetch_state = item.state.clone();
}
}
Expand Down
1 change: 1 addition & 0 deletions src/backend/data/channel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ impl Channel {
self.sort();
}

#[allow(dead_code)]
pub fn contains(&self, video: &Video) -> bool {
self.videos.contains(video)
}
Expand Down

0 comments on commit e98aa23

Please sign in to comment.