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

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

Closed
pmetzger opened this issue Dec 10, 2021 · 0 comments · Fixed by #1208
Closed

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

pmetzger opened this issue Dec 10, 2021 · 0 comments · Fixed by #1208

Comments

@pmetzger
Copy link

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.

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 a pull request may close this issue.

1 participant