Skip to content

Idiomatic: Simplify example in method resolution slide#3166

Open
randomPoison wants to merge 1 commit intogoogle:mainfrom
randomPoison:method-resolution-slide-simplify
Open

Idiomatic: Simplify example in method resolution slide#3166
randomPoison wants to merge 1 commit intogoogle:mainfrom
randomPoison:method-resolution-slide-simplify

Conversation

@randomPoison
Copy link
Copy Markdown
Contributor

The example in the speaker notes can be a bit simpler, i.e. we can do & instead of &mut and get the same effect. I also cut the comment down to reduce verbosity.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant