mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
replaced the four occurrences of issue ="50547" in
library/core/src/future/mod.rs with issue = "none"
This commit is contained in:
parent
54a0f387ea
commit
e2b522505b
@ -46,19 +46,19 @@ pub use self::join::join;
|
|||||||
/// It also simplifies the HIR lowering of `.await`.
|
/// It also simplifies the HIR lowering of `.await`.
|
||||||
#[lang = "ResumeTy"]
|
#[lang = "ResumeTy"]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[unstable(feature = "gen_future", issue = "50547")]
|
#[unstable(feature = "gen_future", issue= "none")]
|
||||||
#[derive(Debug, Copy, Clone)]
|
#[derive(Debug, Copy, Clone)]
|
||||||
pub struct ResumeTy(NonNull<Context<'static>>);
|
pub struct ResumeTy(NonNull<Context<'static>>);
|
||||||
|
|
||||||
#[unstable(feature = "gen_future", issue = "50547")]
|
#[unstable(feature = "gen_future", issue= "none")]
|
||||||
unsafe impl Send for ResumeTy {}
|
unsafe impl Send for ResumeTy {}
|
||||||
|
|
||||||
#[unstable(feature = "gen_future", issue = "50547")]
|
#[unstable(feature = "gen_future", issue= "none")]
|
||||||
unsafe impl Sync for ResumeTy {}
|
unsafe impl Sync for ResumeTy {}
|
||||||
|
|
||||||
#[lang = "get_context"]
|
#[lang = "get_context"]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[unstable(feature = "gen_future", issue = "50547")]
|
#[unstable(feature = "gen_future", issue= "none")]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub unsafe fn get_context<'a, 'b>(cx: ResumeTy) -> &'a mut Context<'b> {
|
pub unsafe fn get_context<'a, 'b>(cx: ResumeTy) -> &'a mut Context<'b> {
|
||||||
|
Loading…
Reference in New Issue
Block a user