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

rs: remove unused mut #347

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mblair
Copy link

@mblair mblair commented Nov 3, 2023

This just fixes a warning I noticed when building:

➜  rs git:(main) cargo build
warning: variable does not need to be mutable
   --> src/management/http_client.rs:552:9
    |
552 |     let mut windows_partner_id: Option<String> = None;
    |         ----^^^^^^^^^^^^^^^^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

warning: `tunnels` (lib) generated 1 warning (run `cargo fix --lib -p tunnels` to apply 1 suggestion)
    Finished dev [unoptimized + debuginfo] target(s) in 0.14s

Copy link
Member

@connor4312 connor4312 left a comment

Choose a reason for hiding this comment

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

This is used when building Windows (L559)

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