Skip to content

Commit

Permalink
remove useless box
Browse files Browse the repository at this point in the history
  • Loading branch information
fredszaq committed Sep 5, 2023
1 parent 8cc3258 commit f93c6e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bindgen/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,7 @@ impl Bindings {
return;
}

let writer = Box::new(file);

let mut out = SourceWriter::new(writer, self);
let mut out = SourceWriter::new(file, self);

language_backend.write_headers(&mut out);

Expand Down

0 comments on commit f93c6e6

Please sign in to comment.