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

Suppress unused method warning when using custom-godot feature #1084

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

Commits on Sep 22, 2024

  1. Suppress unused method warning when using custom-godot feature

    When `custom-godot` feature is used during build, the following warning
    gets produced:
    ```
    warning: function `godot_version` is never used
       |
    50 | fn godot_version() -> Option<semver::Version> {
       |    ^^^^^^^^^^^^^
       |
    ```
    
    This PR adds `#[allow(unused)]` directive to suppress this warning,
    since it becomes unused when `custom-godot` feature is enabled.
    mivort committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    ce60d89 View commit details
    Browse the repository at this point in the history