Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(minor) Add backticks around type names #197

Merged
merged 2 commits into from
Feb 17, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/subtyping.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ to trying to explain:
The types with \*'s are the ones we will be focusing on, as they are in
some sense "fundamental". All the others can be understood by analogy to the others:

* Vec and all other owning pointers and collections follow the same logic as Box
* Cell and all other interior mutability types follow the same logic as UnsafeCell
* `Vec` and all other owning pointers and collections follow the same logic as `Box`
JOE1994 marked this conversation as resolved.
Show resolved Hide resolved
* `Cell` and all other interior mutability types follow the same logic as `UnsafeCell`
JOE1994 marked this conversation as resolved.
Show resolved Hide resolved
* `*const` follows the logic of `&T`
JOE1994 marked this conversation as resolved.
Show resolved Hide resolved
* `*mut` follows the logic of `&mut T` (or `UnsafeCell<T>`)
JOE1994 marked this conversation as resolved.
Show resolved Hide resolved

Expand Down