Skip to content

cfg attribute on use super::* #138

Open
@ratijas

Description

@ratijas

Very confused about these two lines:

#[cfg(qt_5_8)]
use super::*;

here:

#[cfg(qt_5_8)]
use super::*;

I don't know much about scene graph, but I suspect that's not how it was intended to work in Rust anyway.

Maybe it was supposed to be a module-level attribute #![cfg(...)] instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Experience needed to fix: Easy / not muchP-lowLow priorityS-inactiveStatus: Inactive and waiting on the author. This is often applied to closed PRs.good first issueIssues for First Time Contributors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions