Skip to content

Commit 79c0794

Browse files
ryanoneillclaude
andcommitted
Fix formatting in production_app example
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1a01cc9 commit 79c0794

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/production_app.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ impl AppConfig {
4444
/// Builds a sample configuration as if parsed from CLI args.
4545
fn from_simulated_args() -> Self {
4646
Self {
47-
files: (1..=20)
48-
.map(|i| format!("document_{:02}.pdf", i))
49-
.collect(),
47+
files: (1..=20).map(|i| format!("document_{:02}.pdf", i)).collect(),
5048
output_dir: "/tmp/processed".into(),
5149
}
5250
}
@@ -185,7 +183,7 @@ impl App for ProcessorApp {
185183
Constraint::Length(3), // Title
186184
Constraint::Length(3), // Progress bar
187185
Constraint::Length(3), // Current file indicator
188-
Constraint::Min(6), // Status log
186+
Constraint::Min(6), // Status log
189187
Constraint::Length(1), // Bottom status bar
190188
])
191189
.split(area);

0 commit comments

Comments
 (0)