Skip to content

Please add an example of "use" being used inside a function #1115

@pmetzger

Description

@pmetzger

use can be used inside a function, but that's not always obvious to a newcomer. (I, for example, didn't realize this was possible from the documentation.) It would be nice if the use-declarations.html page had a brief example of it so it's more obvious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions