mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
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:
parent
e5c3d5d626
commit
a49e394e51
1 changed files with 5 additions and 6 deletions
|
@ -283,12 +283,11 @@ impl ActiveThread {
|
||||||
.when_some(context, |parent, context| {
|
.when_some(context, |parent, context| {
|
||||||
if !context.is_empty() {
|
if !context.is_empty() {
|
||||||
parent.child(
|
parent.child(
|
||||||
h_flex()
|
h_flex().flex_wrap().gap_1().px_1p5().pb_1p5().children(
|
||||||
.flex_wrap()
|
context
|
||||||
.gap_1()
|
.iter()
|
||||||
.px_1p5()
|
.map(|context| ContextPill::new(context.clone())),
|
||||||
.pb_1p5()
|
),
|
||||||
.children(context.iter().map(|c| ContextPill::new(c.clone()))),
|
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
parent
|
parent
|
||||||
|
|
Loading…
Reference in a new issue