chore: Fix clippy violations from Cargo.toml (#15216)
/cc @maxdeviant Release Notes: - N/A
This commit is contained in:
parent
d755d29577
commit
86456ce379
25 changed files with 94 additions and 93 deletions
|
@ -1571,7 +1571,7 @@ impl Pane {
|
|||
fn render_tab(
|
||||
&self,
|
||||
ix: usize,
|
||||
item: &Box<dyn ItemHandle>,
|
||||
item: &dyn ItemHandle,
|
||||
detail: usize,
|
||||
cx: &mut ViewContext<'_, Pane>,
|
||||
) -> impl IntoElement {
|
||||
|
@ -1863,7 +1863,7 @@ impl Pane {
|
|||
.iter()
|
||||
.enumerate()
|
||||
.zip(tab_details(&self.items, cx))
|
||||
.map(|((ix, item), detail)| self.render_tab(ix, item, detail, cx)),
|
||||
.map(|((ix, item), detail)| self.render_tab(ix, &**item, detail, cx)),
|
||||
)
|
||||
.child(
|
||||
div()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue