Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Jun 9, 2022
1 parent e88505a commit ee6b955
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions boa_engine/src/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ pub struct JobCallback {

impl JobCallback {
pub fn make_job_callback(callback: JsValue) -> Self {
Self {
callback,
}
Self { callback }
}

pub fn call_job_callback(
Expand Down

0 comments on commit ee6b955

Please sign in to comment.