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

Avoid another "unused import" warning on Windows #1765

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

EliahKagan
Copy link
Member

There were two places in #1764 where I had an unconditional import that causes a warning on Windows about how it is unused. 4d5e656 fixed one. This fixes the other:

warning: unused import: `Permissions`
 --> gix-worktree-state\src\checkout\entry.rs:3:23
  |
3 |     fs::{OpenOptions, Permissions},
  |                       ^^^^^^^^^^^

There were two places in GitoxideLabs#1764 where I had an unconditional import
that causes a warning on Windows about how it is unused. 4d5e656
fixed one. This fixes the other:

    warning: unused import: `Permissions`
     --> gix-worktree-state\src\checkout\entry.rs:3:23
      |
    3 |     fs::{OpenOptions, Permissions},
      |                       ^^^^^^^^^^^
Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@Byron Byron merged commit 8df5ba2 into GitoxideLabs:main Jan 13, 2025
20 checks passed
@EliahKagan EliahKagan deleted the finalize-entry-next branch January 13, 2025 17:33
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