about summary refs log tree commit diff
path: root/example/std_example.rs
diff options
context:
space:
mode:
Diffstat (limited to 'example/std_example.rs')
-rw-r--r--example/std_example.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index 2d57866c1d1..0f6325c8980 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -1,10 +1,10 @@
-#![feature(core_intrinsics, generators, generator_trait, is_sorted)]
+#![feature(core_intrinsics, coroutines, coroutine_trait, is_sorted)]
 
 #[cfg(feature="master")]
 #[cfg(target_arch="x86_64")]
 use std::arch::x86_64::*;
 use std::io::Write;
-use std::ops::Generator;
+use std::ops::Coroutine;
 
 extern {
     pub fn printf(format: *const i8, ...) -> i32;