Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shell: Refactor to avoid lint complaining about dropping reference
The lint is right in that dropping the reference does little, but it ensures that the reference is not held longer than the lock. Using an explicit scope achieves the same without any discussions about the drop.
- Loading branch information