Format the tree the way the gate asks for it
`cargo fmt --check` is a required step and had drifted across 45 files. Most of it arrived this week: several operations were written in parallel worktrees and merged by hand, and a hand-merge resolves conflicts without ever running the formatter over the result. No behaviour changes — this is `cargo fmt --all` and nothing else, kept as its own commit so the next reader can skip it wholesale rather than search it for one that matters. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -318,8 +318,8 @@ fn refresh_thumbnail_for(
|
||||
session: &Rc<RefCell<Option<DevelopSession>>>,
|
||||
library: &Rc<library_ui::LibraryController>,
|
||||
) {
|
||||
let worth_it = window.get_can_undo()
|
||||
|| session.borrow().as_ref().is_some_and(|s| !s.is_neutral());
|
||||
let worth_it =
|
||||
window.get_can_undo() || session.borrow().as_ref().is_some_and(|s| !s.is_neutral());
|
||||
if !worth_it {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user