turn ManuallyDrop::new into a constant function#50148
Conversation
|
@rfcbot fcp merge This seems reasonable to me but let's make sure everyone's on board since it's insta-stable. |
|
Team member @sfackler has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
This sounds fine, but don’t you need some other APIs to be |
Yes,
Fixed capacity dynamic data structures (Vec, String, HashMap, etc) that you can put in |
|
What I had in mind is: it seems that This is a long way of saying: sounds good, never mind my previous comment :) |
|
@bors: rollup |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
You could make this not insta-stable via |
|
Ping @japaric |
|
The final comment period, with a disposition to merge, as per the review above, is now complete. |
|
@bors r+ |
|
|
|
📌 Commit b61a4c2 has been approved by |
turn `ManuallyDrop::new` into a constant function
Rollup of 11 pull requests Successful merges: - #49988 (Mention Result<!, E> in never docs.) - #50148 (turn `ManuallyDrop::new` into a constant function) - #50456 (Update the Cargo submodule) - #50460 (Make `String::new()` const) - #50464 (Remove some transmutes) - #50505 (Added regression function match value test) - #50511 (Add some explanations for #[must_use]) - #50525 (Optimize string handling in lit_token().) - #50527 (Cleanup a `use` in a raw_vec test) - #50539 (Add more logarithm constants) - #49523 (Update RELEASES.md for 1.26.0) Failed merges:
r? @sfackler