Skip to content

Commit d37282b

Browse files
authored
(minor) Add backticks around type names
Added backticks around type names for consistency of document.
1 parent 98d750a commit d37282b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/subtyping.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ to trying to explain:
183183
The types with \*'s are the ones we will be focusing on, as they are in
184184
some sense "fundamental". All the others can be understood by analogy to the others:
185185

186-
* Vec and all other owning pointers and collections follow the same logic as Box
187-
* Cell and all other interior mutability types follow the same logic as UnsafeCell
186+
* `Vec` and all other owning pointers and collections follow the same logic as `Box`
187+
* `Cell` and all other interior mutability types follow the same logic as `UnsafeCell`
188188
* `*const` follows the logic of `&T`
189189
* `*mut` follows the logic of `&mut T` (or `UnsafeCell<T>`)
190190

0 commit comments

Comments
 (0)