Only enable `i128_type` when necessary.

This commit is contained in:
Sean Bowe 2017-08-15 13:54:51 -06:00
parent 3908552fb9
commit 51b16c52b3
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
// This library relies on the Rust nightly compiler's `i128_type` feature.
#![feature(i128_type)]
// If that's not okay for you, disable the u128-support feature. (Pass
// --no-default-features for example.)
#![cfg_attr(feature = "u128-support", feature(i128_type))]
// `clippy` is a code linting tool for improving code quality by catching
// common mistakes or strange code patterns. If the `clippy` feature is