Skip to content

Commit

Permalink
Removed double box
Browse files Browse the repository at this point in the history
  • Loading branch information
IBims1NicerTobi committed Dec 6, 2024
1 parent fd10576 commit c9da6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ fn main() -> Result<(), Box<dyn Error + Sync + Send>> {

let file_paths = config.files.clone();

let codegen_backend = Box::new(match config.target_language {
let codegen_backend = match config.target_language {
config::TargetLanguage::SystemVerilog => Box::new(VerilogCodegenBackend) as Box<dyn CodeGenBackend>,
config::TargetLanguage::VHDL => Box::new(VHDLCodegenBackend) as Box<dyn CodeGenBackend>,
});
};

if config.use_lsp {
#[cfg(feature = "lsp")]
Expand Down

0 comments on commit c9da6b1

Please sign in to comment.