(minor) Add backticks around type names

Added backticks around type names for consistency of document.
pull/197/head
Youngsuk Kim 5 years ago committed by GitHub
parent 98d750ac06
commit d37282bfff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -183,8 +183,8 @@ to trying to explain:
The types with \*'s are the ones we will be focusing on, as they are in 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: 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 * `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 * `Cell` and all other interior mutability types follow the same logic as `UnsafeCell`
* `*const` follows the logic of `&T` * `*const` follows the logic of `&T`
* `*mut` follows the logic of `&mut T` (or `UnsafeCell<T>`) * `*mut` follows the logic of `&mut T` (or `UnsafeCell<T>`)

Loading…
Cancel
Save