Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate clap to v4.5.11 - autoclosed #637

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/audit.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/status_embed.yml

This file was deleted.

12 changes: 6 additions & 6 deletions Cargo.lock

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

7 changes: 7 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"prHourlyLimit": 0,
"commitBodyTable": true,
"rebaseWhen": "behind-base-branch"
}
2 changes: 1 addition & 1 deletion src/emotes/downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ pub async fn get_twitch_emote(name: &str) -> Result<()> {

let res = if res.is_err() {
client
.get(&url.replace("animated", "static"))
.get(url.replace("animated", "static"))
.send()
.await?
.error_for_status()
Expand Down
6 changes: 3 additions & 3 deletions src/handlers/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl App {
self.components.chat.scroll_offset.jump_to(0);
}

pub fn purge_user_messages(&mut self, user_id: &str) {
pub fn purge_user_messages(&self, user_id: &str) {
let messages = self
.messages
.borrow_mut()
Expand All @@ -190,7 +190,7 @@ impl App {
self.messages.replace(messages);
}

pub fn remove_message_with(&mut self, message_id: &str) {
pub fn remove_message_with(&self, message_id: &str) {
let index = self
.messages
.borrow_mut()
Expand All @@ -217,7 +217,7 @@ impl App {
}

#[allow(dead_code)]
pub fn rotate_theme(&mut self) {
pub fn rotate_theme(&self) {
todo!("Rotate through different themes")
}
}
Loading