Commit ae59413
committed
fix(desktop): restore const fn AppState::new for clippy 1.95
clippy 1.95's missing_const_for_fn correctly identifies AppState::new
as a pure field-assignment body. The Batch I WHY comment about
WorkerGuard blocking const was wrong — WorkerGuard construction
happens in the caller, not inside new().1 parent ce4c704 commit ae59413
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments