Skip to content

Commit

Permalink
Remove extern crates from napi-dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
maddiemort committed Nov 4, 2022
1 parent 354885b commit c160d29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions napi-dispatcher/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ macro_rules! emit {( $($_:tt)* ) => ( $($_)* )}
}

#[cfg(not(target_arch = "wasm32"))] emit! {
extern crate napi;
pub use ::{
napi::*,
napi_derive as derive,
};

pub extern crate napi_derive as derive;

pub type Result<T, E = Error> = ::core::result::Result<T, E>;
}

0 comments on commit c160d29

Please sign in to comment.