Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
RemcoSmitsDev committed Sep 29, 2024
1 parent f2cd22b commit 032b9b1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/debugger_ui/src/variable_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use gpui::{
};
use menu::Confirm;
use project::dap_store::DapStore;
use std::collections::HashMap;
use std::{collections::HashMap, sync::Arc};
use ui::{prelude::*, ContextMenu, ListItem};

#[derive(Debug, Clone)]
Expand All @@ -33,8 +33,8 @@ pub enum VariableListEntry {
},
Variable {
depth: usize,
scope: Scope,
variable: Variable,
scope: Arc<Scope>,
variable: Arc<Variable>,
has_children: bool,
container_reference: u64,
},
Expand Down Expand Up @@ -223,8 +223,8 @@ impl VariableList {

entries.push(VariableListEntry::Variable {
depth,
scope: scope.clone(),
variable: variable.clone(),
scope: Arc::new(scope.clone()),
variable: Arc::new(variable.clone()),
has_children: variable.variables_reference > 0,
container_reference,
});
Expand Down

0 comments on commit 032b9b1

Please sign in to comment.