forked from LGFae/swww
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Recently][1] the [fix_underscore_lock][2] lint was improved and throws now (as of the upcoming rust 1.77) an error. Therefore I created separate methods for locking only `WallpaperInner`. An alternative could be that the `_` is converted to `_temp` and then the next statement could be `drop(_temp)` to stay with the current behaviour but silence the lint. [1]: rust-lang/rust#119710 [2]: https://doc.rust-lang.org/beta/nightly-rustc/rustc_lint/let_underscore/static.LET_UNDERSCORE_LOCK.html
- Loading branch information
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters