mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Use wrappers in the nonzero crate so users don’t need unstable features
This commit is contained in:
parent
45fd384a91
commit
4594b40238
14 changed files with 19 additions and 34 deletions
|
@ -2,9 +2,6 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![cfg_attr(feature = "unstable", feature(nonzero))]
|
||||
#![cfg_attr(feature = "unstable", feature(const_fn))]
|
||||
#![cfg_attr(feature = "unstable", feature(const_nonzero_new))]
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
#[macro_use]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue