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

Work around dead_code warning in flock implementation #253

Merged
merged 1 commit into from
Jan 6, 2024
Merged

Commits on Jan 6, 2024

  1. Work around dead_code warning in flock implementation

        warning: field `0` is never read
          --> src/flock.rs:22:12
           |
        22 |     Locked(MutexGuard<'static, ()>),
           |     ------ ^^^^^^^^^^^^^^^^^^^^^^^
           |     |
           |     field in this variant
           |
           = note: `#[warn(dead_code)]` on by default
        help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
           |
        22 |     Locked(()),
           |            ~~
    dtolnay committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    b720ee6 View commit details
    Browse the repository at this point in the history