File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ fn main() {
2424 println ! ( "cargo:rerun-if-changed=build" ) ;
2525
2626 // Check if compilation and linking is handled by external crate
27- if ! cfg ! ( feature = "external" ) {
27+ if cfg ! ( not ( feature = "external" ) ) {
2828 let target_os = env:: var ( "CARGO_CFG_TARGET_OS" ) . unwrap ( ) ;
2929 if target_os == "windows" && cfg ! ( feature = "module" ) {
3030 if !std:: env:: var ( "LUA_LIB_NAME" ) . unwrap_or_default ( ) . is_empty ( ) {
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ impl<T> TryFrom<UserDataVariant<T>> for UserDataRef<T> {
6363
6464 #[ inline]
6565 fn try_from ( variant : UserDataVariant < T > ) -> Result < Self > {
66- let guard = if ! cfg ! ( feature = "send" ) || is_sync :: < T > ( ) {
66+ let guard = if cfg ! ( not ( feature = "send" ) ) || is_sync :: < T > ( ) {
6767 variant. raw_lock ( ) . try_lock_shared_guarded ( )
6868 } else {
6969 variant. raw_lock ( ) . try_lock_exclusive_guarded ( )
You can’t perform that action at this time.
0 commit comments