Fix up merged PRs: cargo fmt, and the write_file tests may unwrap

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-14 15:10:48 -04:00
co-authored by Claude Opus 5.5
parent c448a3dba9
commit a0facd60af
6 changed files with 11 additions and 18 deletions
+2
View File
@@ -643,6 +643,8 @@ mod color_at_tests;
#[cfg(all(test, not(target_arch = "wasm32")))]
mod tests {
#![allow(clippy::unwrap_used, clippy::expect_used)]
use super::write_file;
fn scratch(name: &str) -> std::path::PathBuf {
+1 -6
View File
@@ -1064,12 +1064,7 @@ impl Session {
|| matches!(
self.hit_test(p, tol),
Some(
Hit::Resize { .. }
| Hit::Rotate { .. }
| Hit::Adjust { .. }
| Hit::Frame { .. }
| Hit::TableColumn { .. }
| Hit::TableRow { .. }
Hit::Resize { .. } | Hit::Rotate { .. } | Hit::Adjust { .. } | Hit::Frame { .. } | Hit::TableColumn { .. } | Hit::TableRow { .. }
)
)
{