mirror of https://github.com/rust-lang/rust.git
Tutorial: Link to section on boxes and pointers at first mention of ~, @, &
As per suggestion on IRC from callen.
This commit is contained in:
parent
55bd6cee2f
commit
a37729f31b
|
@ -377,7 +377,7 @@ more detail later on (the `T`s here stand for any other type):
|
||||||
: Tuple type. Any arity above 1 is supported.
|
: Tuple type. Any arity above 1 is supported.
|
||||||
|
|
||||||
`@T`, `~T`, `&T`
|
`@T`, `~T`, `&T`
|
||||||
: Pointer types.
|
: Pointer types. See [Boxes and pointers](#boxes-and-pointers) for an explanation of what `@`, `~`, and `&` mean.
|
||||||
|
|
||||||
Some types can only be manipulated by pointer, never directly. For instance,
|
Some types can only be manipulated by pointer, never directly. For instance,
|
||||||
you cannot refer to a string (`str`); instead you refer to a pointer to a
|
you cannot refer to a string (`str`); instead you refer to a pointer to a
|
||||||
|
|
Loading…
Reference in New Issue