Stabilize Ready::into_inner()
· patricklam/verify-rust-std@b8f7f38 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit b8f7f38
Stabilize Ready::into_inner()
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -34,13 +34,12 @@ impl Ready { | ||
34 | 34 | /// # Examples |
35 | 35 | /// |
36 | 36 | /// ``` |
37 | - /// #![feature(ready_into_inner)] | |
38 | 37 | /// use std::future; |
39 | 38 | /// |
40 | 39 | /// let a = future::ready(1); |
41 | 40 | /// assert_eq!(a.into_inner(), 1); |
42 | 41 | /// ``` |
43 | - #[unstable(feature = "ready_into_inner", issue = "101196")] | |
42 | + #[stable(feature = "ready_into_inner", since = "CURRENT_RUSTC_VERSION")] | |
44 | 43 | #[must_use] |
45 | 44 | #[inline] |
46 | 45 | pub fn into_inner(self) -> T { |