Merge pull request #3307 from alex/patch-1
Resolve nightly clippy warning in test_field_cfg
This commit is contained in:
commit
fda76a865a
|
@ -8,7 +8,12 @@ struct CfgClass {
|
||||||
#[cfg(any())]
|
#[cfg(any())]
|
||||||
pub a: u32,
|
pub a: u32,
|
||||||
#[pyo3(get, set)]
|
#[pyo3(get, set)]
|
||||||
#[cfg(all())]
|
// This is always true
|
||||||
|
#[cfg(any(
|
||||||
|
target_family = "unix",
|
||||||
|
target_family = "windows",
|
||||||
|
target_family = "wasm"
|
||||||
|
))]
|
||||||
pub b: u32,
|
pub b: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue