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

Fix useInScope example #10

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Fix useInScope example #10

merged 1 commit into from
Sep 29, 2023

Conversation

efemelar
Copy link
Contributor

This change

  • adds import of useInScope that was missing
  • clarifies what value resource is acquired for

Output before the change

acquiring ...
acquiring ...
Using MyResource(10) ...
Using MyResource(20) ...
releasing 20 ...
releasing 10 ...

and after change

acquiring 10 ...
acquiring 20 ...
Using MyResource(10) ...
Using MyResource(20) ...
releasing 20 ...
releasing 10 ...

@adamw adamw merged commit 5bafe11 into softwaremill:master Sep 29, 2023
@adamw
Copy link
Member

adamw commented Sep 29, 2023

Thanks! :)

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 this pull request may close these issues.

2 participants