mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 05:33:41 +00:00
tutorial: Swap order of pointers for emphasis on &
This commit is contained in:
parent
67a8e7128a
commit
c244147c50
@ -371,7 +371,7 @@ more detail later on (the `T`s here stand for any other type):
|
||||
`[T * N]` Vector (like an array in other languages) with N elements
|
||||
`[mut T * N]` Mutable vector with N elements
|
||||
`(T1, T2)` Tuple type. Any arity above 1 is supported
|
||||
`@T`, `~T`, `&T` [Pointer types](#boxes-and-pointers)
|
||||
`&T`, `~T`, `@T` [Pointer types](#boxes-and-pointers)
|
||||
------------------------- -----------------------------------------------
|
||||
|
||||
Some types can only be manipulated by pointer, never directly. For instance,
|
||||
|
Loading…
Reference in New Issue
Block a user