Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve documentation on derived trait bounds#40

Open
stevenengler wants to merge 1 commit intomagiclen:master from
stevenengler:master
Open

Improve documentation on derived trait bounds #40
stevenengler wants to merge 1 commit intomagiclen:master from
stevenengler:master

Conversation

@stevenengler
Copy link

@stevenengler stevenengler commented Jul 27, 2025

The goal of this change is to make it easier to see how the bounds differ from the standard library's derives.

I think that the previous

Generic parameters will be automatically bound to the Debug trait if necessary.

is either incorrect or misleading, depending on how you interpret "if necessary".

This change rewords this text to more explicitly differentiate it from the standard library's derives, and changes some examples to better show what the generated bounds are.

The goal of this change is to make it easier to see how the bounds
differ from the standard library's derives.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /