diff options
| author | antoyo <antoyo@users.noreply.github.com> | 2023-10-26 17:40:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-26 17:40:15 -0400 |
| commit | e4fe941b11a55c5005630696e9b6d81c65f7bd04 (patch) | |
| tree | d7ac6feddb60812de0342741004add8d441531d0 /example/std_example.rs | |
| parent | 8329a356fc1d3e484019c876e1344aa7a0a2b5dd (diff) | |
| parent | a6984f5961c6a211b64797ff0db595228d00abf5 (diff) | |
| download | rust-e4fe941b11a55c5005630696e9b6d81c65f7bd04.tar.gz rust-e4fe941b11a55c5005630696e9b6d81c65f7bd04.zip | |
Merge pull request #371 from rust-lang/sync_from_rust_2023_10_25
Sync from rust 2023/10/25
Diffstat (limited to 'example/std_example.rs')
| -rw-r--r-- | example/std_example.rs | 4 |
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; |
