Skip to content

Commit

Permalink
Fixing clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
notdanilo committed Nov 6, 2023
1 parent 422c271 commit 8a1c865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ecosystem/python/exporter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use ligen_traits::generator::file_generator::{TemplateRegister, Template, Templa


#[derive(Debug, Default)]
pub struct PythonGenerator;
pub struct PythonGenerator {}

impl TemplateRegister for PythonGenerator {
fn register_templates(&self, _template: &mut Template) -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion tools/editor/src/gui/ui/layout/editor/generators/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Widget for Generators {
fn show(&mut self, settings: &Settings, ui: &mut ligen_gui_runtime::egui::Ui, input: &mut Self::Input) {
for (index, generator) in self.generators.iter_mut().enumerate() {
ui.push_id(index, |ui| {
generator.show(&settings, ui, input);
generator.show(settings, ui, input);
});
}
}
Expand Down

0 comments on commit 8a1c865

Please sign in to comment.