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 dependencies and optimize the code according to the suggestions of cargo clippy. #28

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

xb284524239
Copy link
Contributor

Misc: Adjust the default window size to solve the problem that some content is not fully displayed.

@@ -44,17 +44,8 @@ impl RustupWorker {

async fn rustup_worker_loop(mut r: UnboundedReceiver<RustupMessage>, handle: slint::Weak<CargoUI>) {
let refresh_handle = tokio::task::spawn(refresh_toolchains(handle.clone()));

loop {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why this was a loop - thanks for cleaning this up :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this loop never actually loops.

@xb284524239 xb284524239 requested a review from tronical January 9, 2025 02:25
@tronical tronical merged commit 85010e0 into slint-ui:master Jan 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants