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() {
24
24
println ! ( "cargo:rerun-if-changed=build" ) ;
25
25
26
26
// Check if compilation and linking is handled by external crate
27
- if ! cfg ! ( feature = "external" ) {
27
+ if cfg ! ( not ( feature = "external" ) ) {
28
28
let target_os = env:: var ( "CARGO_CFG_TARGET_OS" ) . unwrap ( ) ;
29
29
if target_os == "windows" && cfg ! ( feature = "module" ) {
30
30
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> {
63
63
64
64
#[ inline]
65
65
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 > ( ) {
67
67
variant. raw_lock ( ) . try_lock_shared_guarded ( )
68
68
} else {
69
69
variant. raw_lock ( ) . try_lock_exclusive_guarded ( )
You can’t perform that action at this time.
0 commit comments