Replace usages of 'bad_style' with 'nonstandard_style'.
`bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646
This commit is contained in:
@@ -1184,7 +1184,7 @@ fn get_concurrency() -> usize {
|
||||
};
|
||||
|
||||
#[cfg(windows)]
|
||||
#[allow(bad_style)]
|
||||
#[allow(nonstandard_style)]
|
||||
fn num_cpus() -> usize {
|
||||
#[repr(C)]
|
||||
struct SYSTEM_INFO {
|
||||
|
||||
Reference in New Issue
Block a user