diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-10-06 15:34:59 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-10-06 20:23:57 +0200 |
| commit | 8fac41a530d3add62464292066130c266a303258 (patch) | |
| tree | c2447c4a7e3e233c6be99061a0b2fb705326fe42 /library/std/src | |
| parent | 56e5f614947c7f9ddde17c579e2e17b39260b17d (diff) | |
| download | rust-8fac41a530d3add62464292066130c266a303258.tar.gz rust-8fac41a530d3add62464292066130c266a303258.zip | |
Clean up code a bit:
* Remove "bool_to_options" feature * Update version for compiler feature * rustfmt
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index af48e5e9bd2..e074609773a 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -193,11 +193,9 @@ html_playground_url = "https://play.rust-lang.org/", issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/", test(no_crate_inject, attr(deny(warnings))), - test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))), -)] -#![cfg_attr(not(bootstrap), - doc(cfg_hide(not(test), not(any(test, bootstrap)))) + test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))) )] +#![cfg_attr(not(bootstrap), doc(cfg_hide(not(test), not(any(test, bootstrap)))))] // Don't link to std. We are std. #![no_std] #![warn(deprecated_in_future)] |
