diff --git a/src/doc/guide-pointers.md b/src/doc/guide-pointers.md index 5ec16e852a5f9..d5bf7c980b7ba 100644 --- a/src/doc/guide-pointers.md +++ b/src/doc/guide-pointers.md @@ -733,18 +733,15 @@ This part is coming soon. Here's a quick rundown of Rust's pointer types: -| Type | Name | Summary | -|--------------|---------------------|-------------------------------------------| -| `&T` | Reference | Allows one or more references to read `T` | -| `&mut T` | Mutable Reference | Allows a single reference to | -| | | read and write `T` | -| `Box` | Box | Heap allocated `T` with a single owner | -| | | that may read and write `T`. | -| `Rc` | "arr cee" pointer | Heap allocated `T` with many readers | -| `Arc` | Arc pointer | Same as above, but safe sharing across | -| | | threads | -| `*const T` | Raw pointer | Unsafe read access to `T` | -| `*mut T` | Mutable raw pointer | Unsafe read and write access to `T` | +| Type | Name | Summary | +|--------------|---------------------|---------------------------------------------------------------------| +| `&T` | Reference | Allows one or more references to read `T` | +| `&mut T` | Mutable Reference | Allows a single reference to read and write `T` | +| `Box` | Box | Heap allocated `T` with a single owner that may read and write `T`. | +| `Rc` | "arr cee" pointer | Heap allocated `T` with many readers | +| `Arc` | Arc pointer | Same as above, but safe sharing across threads | +| `*const T` | Raw pointer | Unsafe read access to `T` | +| `*mut T` | Mutable raw pointer | Unsafe read and write access to `T` | # Related resources