Skip to content

Commit

Permalink
Dependency::identifier: Identifier instead of String
Browse files Browse the repository at this point in the history
  • Loading branch information
notdanilo committed Nov 24, 2023
1 parent cebb6f1 commit 77a789e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Parser<WithSource<&Expr>> for AttributesParser {
Ok(Group::new(path, attributes).into())
},
Expr::Name(expr) => {
let path = self.path_parser.parse(&*expr, config)?;
let path = self.path_parser.parse(expr, config)?;
let attributes = Attributes::default();
Ok(Group::new(path, attributes).into())
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub struct Dependency {}
impl Widget for Dependency {
type Input = ligen_ir::Dependency;
fn show(&mut self, settings: &Settings, ui: &mut egui::Ui, input: &mut Self::Input) {
Labeled::new(&input.identifier).show(settings, ui, |ui| {
Labeled::new(&input.identifier.name).show(settings, ui, |ui| {
StringField::default().show(settings, ui, &mut input.requirement);
});
}
Expand Down

0 comments on commit 77a789e

Please sign in to comment.