소스 검색

Silence unstable feature warnings

Matt Brubeck 10 년 전
부모
커밋
e68ea18edc
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/lib.rs

+ 1 - 3
src/lib.rs

@@ -44,15 +44,13 @@
 //!
 //! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
 
-#![feature(slicing_syntax, core)]
+#![feature(slicing_syntax, collections, core, hash, rand, std_misc)]
 #![cfg_attr(test, deny(warnings))]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/num/",
        html_playground_url = "http://play.rust-lang.org/")]
 
-#![allow(unstable)]
-
 extern crate "rustc-serialize" as rustc_serialize;
 extern crate core;