From 28e4095950b8ebf11d12daa763c9e1dc3f4ec239 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 30 Jul 2014 09:41:05 -0400 Subject: [PATCH] fix formatting in pointer guide table --- src/doc/guide-pointers.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) 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