3

Implement `From<[T; N]>` for `Rc<[T]>` and `Arc<[T]>` by nvzqz...

 11 months ago
source link: https://github.com/rust-lang/rust/pull/114041
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Conversation

Contributor

Given that Box<[T]> already has this conversion, the shared counterparts should also have it.

zjp-CN and avl reacted with thumbs up emoji

Collaborator

r? @thomcc

(rustbot has picked a reviewer for you, use r? to override)

rustbot

added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

labels

Jul 25, 2023

Contributor

Author

@rustbot label +T-libs-api -T-libs

rustbot

added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

and removed T-libs Relevant to the library team, which will review and decide on the PR/issue.

labels

Jul 25, 2023

Member

Libs-api, needs FCP too. (Not sure if ACP is still needed for insta-stable trait impls?)

r? @rust-lang/libs-api

Member

Ah, IIRC @BurntSushi doesn't have time for reviews, so r? @Amanieu

This comment was marked as resolved.

This comment was marked as resolved.

Member

This seems reasonable, we already have the same for Vec and Box<[T]>.

@rfcbot fcp merge

rfcbot

commented

Jul 25, 2023

edited by BurntSushi

Team member @Amanieu has proposed to merge this. The next step is review by the rest of the tagged team members:

No concerns currently listed.

Once a majority of reviewers approve (and at most 2 approvals are outstanding), 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.

rfcbot

added proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it.

labels

Jul 25, 2023

rfcbot

added final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised.

and removed proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.

labels

Aug 22, 2023

🔔 This is now entering its final comment period, as per the review above. 🔔

rfcbot

added finished-final-comment-period The final comment period is finished for this PR / Issue.

and removed final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised.

labels

Sep 1, 2023

The final comment period, with a disposition to merge, as per the review above, is now complete.

As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed.

This will be merged soon.

rfcbot

added the to-announce Announce this issue on triage meeting label

Sep 1, 2023

apiraino

removed the to-announce Announce this issue on triage meeting label

Sep 7, 2023

Member

@dtolnay dtolnay

left a comment

Thanks!

Member

@bors r+

Contributor

📌 Commit b2d35e1 has been approved by dtolnay

It is now in the queue for this repository.

bors

added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

labels

Sep 28, 2023

Contributor

⌛ Testing commit b2d35e1 with merge 46da927...

Contributor

☀️ Test successful - checks-actions
Approved by: dtolnay
Pushing 46da927 to master...

bors

added the merged-by-bors This PR was explicitly merged by bors label

Sep 28, 2023

bors

merged commit 46da927 into

rust-lang:master

Sep 28, 2023

12 checks passed

Collaborator

Finished benchmarking commit (46da927): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 631.947s -> 631.429s (-0.08%)
Artifact size: 317.35 MiB -> 317.33 MiB (-0.01%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

chenyukang

chenyukang left review comments

dtolnay

dtolnay approved these changes
Assignees

dtolnay

Labels
disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. merged-by-bors This PR was explicitly merged by bors S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects

None yet

Milestone

1.74.0

Development

Successfully merging this pull request may close these issues.

None yet

12 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK