Skip to content

Commit 72c86e7

Browse files
committed
Updated features for the latest rust.
1 parent 6906c2f commit 72c86e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/declare.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ macro_rules! method_decl_impl {
7676
encode::<Sel>(),
7777
$(encode::<$t>()),*
7878
];
79-
types.iter().cloned().collect()
79+
types.iter().map(|&s| s).collect()
8080
}
8181

8282
fn into_imp(self, sel: Sel) -> Result<Imp, ()> {

core/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![crate_name = "objc"]
44
#![crate_type = "lib"]
55

6-
#![feature(std_misc, unsafe_destructor)]
6+
#![feature(unsafe_destructor)]
77
#![warn(missing_docs)]
88

99
extern crate libc;

foundation/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![crate_name = "objc_foundation"]
22
#![crate_type = "lib"]
33

4-
#![feature(core, std_misc)]
4+
#![feature(core)]
55

66
extern crate libc;
77
#[macro_use]

0 commit comments

Comments
 (0)