-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify struct-lifetimes slide (#2585)
In teaching the course, the verbal distinction between "doc" and "dog" was not clear, so this PR moves away from those symbols. This also makes the Highlight struct a little more substantial, and replaces `erase` with a simple call to `drop` to keep the example short.
- Loading branch information
Showing
1 changed file
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters