6

Hide `ToString` implementations that specialize the default one by steffahn · Pu...

 1 year ago
source link: https://github.com/rust-lang/rust/pull/114020
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

Member

The status quo is highly confusing, since the overlap is not apparent, and specialization is not a feature of Rust. This change addresses #87545; I'm not certain if it closes/fixes it entirely, since that issue might also be tracking the question of a general solution for hiding the documentation for specializing impls automatically.

Before

Screenshot_20230724_234210

After

Screenshot_20230724_234255

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 24, 2023

steffahn

changed the title Hide ToString implementations that specialize the default ones

Hide ToString implementations that specialize the default one

Jul 24, 2023

Member

Seems like an improvement. I think we might want to discuss it in a t-libs meeting if we want to do this universally.

@bors r+ rollup

Contributor

pushpin Commit 3911a63 has been approved by thomcc

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

Jul 24, 2023

Contributor

⌛ Testing commit 3911a63 with merge c026d6a...

Contributor

sunny Test successful - checks-actions
Approved by: thomcc
Pushing c026d6a to master...

bors

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

Jul 25, 2023

bors

merged commit c026d6a into

rust-lang:master

Jul 25, 2023

12 checks passed

steffahn

deleted the hide-specialized-ToString-impls branch

July 25, 2023 12:44

Collaborator

Finished benchmarking commit (c026d6a): 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: 650.538s -> 649.334s (-0.19%)

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

Reviewers

No reviews

Assignees

thomcc

Labels
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 Relevant to the library team, which will review and decide on the PR/issue.
Projects

None yet

Milestone

1.73.0

Development

Successfully merging this pull request may close these issues.

None yet

5 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK