Replace fake "restricted-std" Cargo feature by custom cfg
This commit is contained in:
@@ -213,9 +213,9 @@
|
||||
//! [array]: prim@array
|
||||
//! [slice]: prim@slice
|
||||
|
||||
#![cfg_attr(not(feature = "restricted-std"), stable(feature = "rust1", since = "1.0.0"))]
|
||||
#![cfg_attr(not(restricted_std), stable(feature = "rust1", since = "1.0.0"))]
|
||||
#![cfg_attr(
|
||||
feature = "restricted-std",
|
||||
restricted_std,
|
||||
unstable(
|
||||
feature = "restricted_std",
|
||||
issue = "none",
|
||||
|
||||
Reference in New Issue
Block a user