Skip to content

Split out slide for IntoIterator on references - #3281

Open
randomPoison wants to merge 1 commit into
google:mainfrom
randomPoison:legare/intoiterator-refs
Open

randomPoison wants to merge 1 commit into
google:mainfrom
randomPoison:legare/intoiterator-refs

Conversation

@randomPoison

Copy link
Copy Markdown
Contributor

Currently the slide on IntoIterator demonstrates implementing it directly on a type, and then links to a playground in order to demonstrate implementing IntoIterator on references. This PR pulls that playground out into its own slide and adds some speaker notes to guide the discussion and call out how this pattern is used in the standard library.

This is how I've been teaching this section for a while, and I think it goes pretty smoothly, so it's probably worth making into an actual slide.

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