From a49e394e51f1cbd43b88de7475c2042d129fa580 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 3 Jan 2025 12:04:07 -0500 Subject: [PATCH] assistant2: Remove single-letter variable name (#22618) This PR removes a single-letter variable name in place of a full one, for readability. Release Notes: - N/A --- crates/assistant2/src/active_thread.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/crates/assistant2/src/active_thread.rs b/crates/assistant2/src/active_thread.rs index 448a156dea..c6d432a0a5 100644 --- a/crates/assistant2/src/active_thread.rs +++ b/crates/assistant2/src/active_thread.rs @@ -283,12 +283,11 @@ impl ActiveThread { .when_some(context, |parent, context| { if !context.is_empty() { parent.child( - h_flex() - .flex_wrap() - .gap_1() - .px_1p5() - .pb_1p5() - .children(context.iter().map(|c| ContextPill::new(c.clone()))), + h_flex().flex_wrap().gap_1().px_1p5().pb_1p5().children( + context + .iter() + .map(|context| ContextPill::new(context.clone())), + ), ) } else { parent