Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Commit 9d5914b

Browse files
noahgiftclaude
andcommitted
Fix unused variable warnings in layout integration tests
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5e6a53f commit 9d5914b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/presentar-layout/tests/integration.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ impl Widget for Box {
6666
}
6767

6868
/// A flexible widget that fills available space
69+
#[allow(dead_code)]
6970
struct Flexible {
7071
flex: f32,
7172
children: Vec<std::boxed::Box<dyn Widget>>,
@@ -201,7 +202,7 @@ fn test_layout_cache_clear() {
201202

202203
// First layout
203204
engine.compute(&mut widget, viewport);
204-
let (hits1, misses1) = engine.cache_stats();
205+
let (hits1, _misses1) = engine.cache_stats();
205206

206207
// Clear and layout again
207208
engine.clear_cache();

0 commit comments

Comments
 (0)