Skip to content

Commit 3ee6747

Browse files
committed
rustc_serialize: Remove unneeded feature decls.
I.e. `maybe_uninit_slice` and `new_uninit`. Also sort the remaining features and remove an ugly, low-value comment.
1 parent cae0791 commit 3ee6747

File tree

1 file changed

+5
-11
lines changed
  • compiler/rustc_serialize/src

1 file changed

+5
-11
lines changed

compiler/rustc_serialize/src/lib.rs

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
//! Support code for encoding and decoding types.
22
3-
/*
4-
Core encoding and decoding interfaces.
5-
*/
6-
73
#![doc(
84
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
95
html_playground_url = "https://play.rust-lang.org/",
106
test(attr(allow(unused_variables), deny(warnings)))
117
)]
12-
#![feature(never_type)]
8+
#![feature(allocator_api)]
139
#![feature(associated_type_bounds)]
14-
#![feature(min_specialization)]
10+
#![feature(const_option)]
1511
#![feature(core_intrinsics)]
16-
#![feature(maybe_uninit_slice)]
17-
#![feature(new_uninit)]
18-
#![feature(allocator_api)]
12+
#![feature(inline_const)]
13+
#![feature(min_specialization)]
14+
#![feature(never_type)]
1915
#![feature(ptr_sub_ptr)]
2016
#![feature(slice_first_last_chunk)]
21-
#![feature(inline_const)]
22-
#![feature(const_option)]
2317
#![cfg_attr(test, feature(test))]
2418
#![allow(rustc::internal)]
2519
#![deny(rustc::untranslatable_diagnostic)]

0 commit comments

Comments
 (0)