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
This commit is contained in:
Marshall Bowers
2025-01-03 17:04:07 +00:00
committed by GitHub
parent e5c3d5d626
commit a49e394e51
+5 -6
View File
@@ -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